Package org.infinispan.query.impl
Class DefaultTransformer
java.lang.Object
org.infinispan.query.impl.DefaultTransformer
- All Implemented Interfaces:
- Transformer
WARNING, slow as a senile dog, uses Java Serialization and base64 encoding to get a String representation of an
 Object. It is highly recommended that you provide your own implementation of 
Transformer.- Author:
- Navin Surtani, anistor@redhat.com
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
DefaultTransformerpublic DefaultTransformer()
 
- 
- 
Method Details- 
fromStringDescription copied from interface:TransformerTransforms a String into an Object.- Specified by:
- fromStringin interface- Transformer
- Parameters:
- str- cannot be null
- Returns:
- the Object that is encoded in the given String
 
- 
toStringDescription copied from interface:TransformerTransforms an Object into a String.- Specified by:
- toStringin interface- Transformer
- Parameters:
- obj- cannot be null
- Returns:
- the String representation of the object
 
 
-