public class XStreamDeserializer<T> extends Object implements Deserializer<T>
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
in |
protected XStreamSerialization |
serde |
protected Class<T> |
type |
protected com.thoughtworks.xstream.XStream |
xstream |
| Constructor and Description |
|---|
XStreamDeserializer(XStreamSerialization serde,
com.thoughtworks.xstream.XStream xstream,
InputStream in,
Class<T> type) |
protected XStreamSerialization serde
protected com.thoughtworks.xstream.XStream xstream
protected InputStream in
public XStreamDeserializer(XStreamSerialization serde, com.thoughtworks.xstream.XStream xstream, InputStream in, Class<T> type)
public T read() throws IOException
read in interface Deserializer<T>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014. All rights reserved.