Package net.anwiba.commons.xml.io
Class XmlReader<T>
- java.lang.Object
-
- net.anwiba.commons.xml.io.XmlReader<T>
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class XmlReader<T> extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description XmlReader(java.io.InputStream stream, IDomToObjectConverter<T> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Tread()
-
-
-
Constructor Detail
-
XmlReader
public XmlReader(java.io.InputStream stream, IDomToObjectConverter<T> converter)
-
-
Method Detail
-
read
public T read() throws DomConverterException
- Throws:
DomConverterException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-