Class KeyStringifier
- java.lang.Object
-
- com.googlecode.objectify.stringifier.KeyStringifier
-
- All Implemented Interfaces:
Stringifier<Key<?>>
public class KeyStringifier extends Object implements Stringifier<Key<?>>
Converts Objectify Key>s to String.
- Author:
- Jeff Schnitzer
-
-
Constructor Summary
Constructors Constructor Description KeyStringifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Key<?>
fromString(String str)
Convert the string back to a thingString
toString(Key<?> obj)
Convert the thing to a string
-
-
-
Method Detail
-
toString
public String toString(Key<?> obj)
Description copied from interface:Stringifier
Convert the thing to a string- Specified by:
toString
in interfaceStringifier<Key<?>>
-
fromString
public Key<?> fromString(String str)
Description copied from interface:Stringifier
Convert the string back to a thing- Specified by:
fromString
in interfaceStringifier<Key<?>>
-
-