Package org.frankframework.util
Class UUIDUtil
java.lang.Object
org.frankframework.util.UUIDUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringasHex(byte[] buf) static Stringstatic StringCreates a Universally Unique Identifier, via the java.util.UUID class (always 36 characters in length).static StringcreateRandomUUID(boolean removeDashes) Creates a Universally Unique Identifier, via the java.util.UUID class (36 characters or 32 characters without dashes).static StringCreates a Universally Unique Identifier, using the host IP address and the java.rmi.server.UID class.static StringCreates a Universally Unique Identifier, using the host IP address and the java.rmi.server.UID class.
-
Field Details
-
RANDOM
-
-
Method Details
-
createSimpleUUID
Creates a Universally Unique Identifier, using the host IP address and the java.rmi.server.UID class. -
createUUID
Creates a Universally Unique Identifier, using the host IP address and the java.rmi.server.UID class. This method is currently an alias forcreateSimpleUUID() -
createRandomUUID
Creates a Universally Unique Identifier, via the java.util.UUID class (36 characters or 32 characters without dashes). -
createRandomUUID
Creates a Universally Unique Identifier, via the java.util.UUID class (always 36 characters in length). -
asHex
- Returns:
- the hexadecimal string representation of the byte array.
-
createNumericUUID
- Returns:
- a unique UUID string with length 31 (ipaddress with length 4*3, currentTime with length 13, hashcode with length 6) containing only digits 0-9.
-