Package org.javarosa.core.util
Class PropertyUtils
java.lang.Object
org.javarosa.core.util.PropertyUtils
public class PropertyUtils extends Object
-
Constructor Summary
Constructors Constructor Description PropertyUtils() -
Method Summary
Modifier and Type Method Description static StringgenGUID(int len)Create a globally unique identifier string in no particular format with len characters of randomness.static StringgenUUID()Generate an RFC 4122 Version 4 UUID.static StringinitializeProperty(String propName, String defaultValue)static StringrandHex(int len)static Stringtrim(String guid, int len)
-
Constructor Details
-
PropertyUtils
public PropertyUtils()
-
-
Method Details
-
initializeProperty
-
genUUID
Generate an RFC 4122 Version 4 UUID.- Returns:
- a uuid
-
genGUID
Create a globally unique identifier string in no particular format with len characters of randomness.- Parameters:
len- The length of the string identifier requested.- Returns:
- A string containing len characters of random data.
-
randHex
-
trim
-