com.appenginefan.toolkit.persistence
Class StringPersistence
java.lang.Object
com.appenginefan.toolkit.persistence.MarshallingPersistence<String>
com.appenginefan.toolkit.persistence.StringPersistence
- All Implemented Interfaces:
- Persistence<String>
public class StringPersistence
- extends MarshallingPersistence<String>
Storage specialized in persisting strings. Wraps around a
byte array based persistence for the backend.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPersistence
public StringPersistence(Persistence<byte[]> backend)
makeArray
protected byte[] makeArray(String nonNullValue)
- Specified by:
makeArray in class MarshallingPersistence<String>
makeType
protected String makeType(byte[] nonNullValue)
- Specified by:
makeType in class MarshallingPersistence<String>