public class SerializeTranslatorFactory extends Object implements TranslatorFactory<Object,com.google.appengine.api.datastore.Blob>
Loader which can load any serialized thing from a Blob.
Constructor and Description |
---|
SerializeTranslatorFactory() |
Modifier and Type | Method and Description |
---|---|
Translator<Object,com.google.appengine.api.datastore.Blob> |
create(TypeKey<Object> tk,
CreateContext ctx,
Path path)
Create a translator for a type.
|
public Translator<Object,com.google.appengine.api.datastore.Blob> create(TypeKey<Object> tk, CreateContext ctx, Path path)
TranslatorFactory
create
in interface TranslatorFactory<Object,com.google.appengine.api.datastore.Blob>
tk
- defines the type which is to be translatedpath
- is where this type was discovered, important for logging and exceptionsCopyright © 2016. All rights reserved.