public class PatchUtil
extends java.lang.Object
Constructor and Description |
---|
PatchUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPatchFileName(java.lang.String patchName)
Returns the patch's file name.
|
static java.lang.String |
getPatchId(java.lang.String patchName)
Returns the patch ID, which is extracted from the patch name.
|
static java.lang.String |
getPatchMD5Sum(byte[] bytes) |
static java.lang.String |
getPatchName(java.lang.String patchFileName)
Returns the patch's name, which is extracted from the
patchFileName . |
public static java.lang.String getPatchFileName(java.lang.String patchName)
patchName
is used as a
base to build the patch's file name.patchName
- the patch's namepublic static java.lang.String getPatchId(java.lang.String patchName)
patchName
- the patch's namepublic static java.lang.String getPatchMD5Sum(byte[] bytes)
public static java.lang.String getPatchName(java.lang.String patchFileName)
patchFileName
.patchFileName
- the patch's file name