Class TextTranslatorFactory

java.lang.Object
com.googlecode.objectify.impl.translate.ValueTranslatorFactory<com.google.appengine.api.datastore.Text,​Object>
com.googlecode.objectify.impl.translate.TextTranslatorFactory
All Implemented Interfaces:
TranslatorFactory<com.google.appengine.api.datastore.Text,​Object>

public class TextTranslatorFactory
extends ValueTranslatorFactory<com.google.appengine.api.datastore.Text,​Object>
Knows how to convert Texts. Aside from String and Text, will work with anything that's in the datastore just by calling toString() on what we get back; convenient for converting between say Number and the Text representation, possibly dangerous otherwise.
  • Constructor Details

    • TextTranslatorFactory

      public TextTranslatorFactory()
  • Method Details