|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.util.UuidUtil
public class UuidUtil
Utility functions associated with globally unique identifiers.
Field Summary | |
---|---|
static String |
UUID_PATTERN
UUID pattern |
Method Summary | |
---|---|
static String |
addCurlies(String uuid)
Adds curly braces {} to a uuid. |
static Pattern |
createRegexPattern()
Creates regular expression pattern. |
static Pattern |
createRegexPattern(int flags)
Creates regular expression pattern. |
static boolean |
isUuid(String uuid)
Determines if a string is a uuid. |
static String |
makeUuid()
Makes a new uuid (no braces). |
static String |
makeUuid(boolean withCurlies)
Makes a new uuid. |
static String |
removeCurlies(String uuid)
Removes curly braces {} from a uuid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String UUID_PATTERN
Method Detail |
---|
public static String addCurlies(String uuid)
uuid
- the uuid to modify
public static boolean isUuid(String uuid)
uuid
- the uuid to check
public static String makeUuid()
public static String makeUuid(boolean withCurlies)
withCurlies
- if true, add curly braces {}
public static String removeCurlies(String uuid)
uuid
- the uuid to modify
public static Pattern createRegexPattern()
public static Pattern createRegexPattern(int flags)
flags
- (see: Pattern.compile(String regex, int flags)
)
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |