core/src/main/java/nl/nn/adapterframework/util/Misc.java
/**
	* Creates a Universally Unique Identifier, via the java.util.UUID class (36 characters or 32 characters without dashes).
	*/
Creates a Universally Unique Identifier, via the java.util.UUID class (36 characters or 32 characters without dashes).
Creates a Universally Unique Identifier via the java . util . UUID class ( 36 characters or 32 characters without dashes ) .
public static String createRandomUUID(boolean removeDashes) {
		String uuidString = java.util.UUID.randomUUID().toString();
		if (removeDashes) {
			return uuidString.replaceAll("-", "");
		} else {
			return uuidString;
		}
	}
public static String createRandomUUID ( boolean removeDashes ) { String uuidString = java . util . UUID . randomUUID ( ) . toString ( ) ; if ( removeDashes ) { return uuidString . replaceAll ( "-" , "" ) ; } else { return uuidString ; } }
Creates a Universally Unique Identifier, via the java.util.UUID class (36 characters or 32 characters without dashes).
Creates a Universally Unique Identifier via the java . util . UUID class ( 36 characters or 32 characters without dashes ) .