|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.util.UUIDConverter
public class UUIDConverter
Utility to help generate UUID instances from generic objects.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CHARSET
|
Constructor Summary | |
---|---|
UUIDConverter()
|
Method Summary | |
---|---|
java.util.UUID |
convert(java.lang.Object source)
Convert the input to a UUID using the convenience method getUUID(Object) . |
static java.util.UUID |
getUUID(java.lang.Object input)
Convenient utility to convert an object to 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 java.lang.String DEFAULT_CHARSET
Constructor Detail |
---|
public UUIDConverter()
Method Detail |
---|
public java.util.UUID convert(java.lang.Object source)
getUUID(Object)
.
convert
in interface org.springframework.core.convert.converter.Converter<java.lang.Object,java.util.UUID>
Converter.convert(java.lang.Object)
public static java.util.UUID getUUID(java.lang.Object input)
UUID.fromString(String)
UUID.nameUUIDFromBytes(byte[])
with
bytes generated from the inputUUID.nameUUIDFromBytes(byte[])
with
the serialized bytes of the input
input
- an Object
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |