All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.bind.Deserializer Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.bind;

import java.io.Reader;
import java.lang.reflect.Type;

/**
 * 
 *
 */
public interface Deserializer {
	/**
	 * Creates a object from a string, with a specific target class.
* * @param source source string * @param type deserialize object type * @return deserialized object */ T deserialize(CharSequence source, Type type); /** * Creates a object from a reader, with a specific target class.
* * @param source source reader * @param type deserialize object type * @return deserialized object */ T deserialize(Reader source, Type type); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy