Class BinaryFormatter<K>
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.BinaryFormatter<K>
-
-
Constructor Summary
Constructors Constructor Description BinaryFormatter(Class<K> targetClass, Serializer<K> serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(K key)Formats the specified key to a string representation.Class<K>getTargetClass()The implementation class of the target key of this format.Kparse(String value)Parses the key from the specified string.
-
-
-
Constructor Detail
-
BinaryFormatter
public BinaryFormatter(Class<K> targetClass, Serializer<K> serializer)
-
-
Method Detail
-
getTargetClass
public Class<K> getTargetClass()
Description copied from interface:FormatterThe implementation class of the target key of this format.- Specified by:
getTargetClassin interfaceFormatter<K>- Returns:
- an implementation class
-
parse
public K parse(String value)
Description copied from interface:FormatterParses the key from the specified string.
-
-