org.tinygroup.convert.objectjson.xstream
Class ObjectToJson<T>

java.lang.Object
  extended by org.tinygroup.convert.objectjson.xstream.ObjectToJson<T>
All Implemented Interfaces:
Converter<T,String>

public class ObjectToJson<T>
extends Object
implements Converter<T,String>


Constructor Summary
ObjectToJson(Class<T> rootClass)
           
 
Method Summary
 String convert(T object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectToJson

public ObjectToJson(Class<T> rootClass)
Method Detail

convert

public String convert(T object)
Specified by:
convert in interface Converter<T,String>


Copyright © 2006–2015 TinyGroup. All rights reserved.