Class IgnoreIllegalCharactersXmlReader
java.lang.Object
java.io.Reader
org.aksw.commons.util.xml.IgnoreIllegalCharactersXmlReader
- All Implemented Interfaces:
Closeable, AutoCloseable, Readable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intread(char[] cbuf, int off, int len) static <T> TunmarshallXml(Class<T> clazz, InputStream in) Methods inherited from class Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
IgnoreIllegalCharactersXmlReader
- Throws:
UnsupportedEncodingException
-
-
Method Details
-
read
- Specified by:
readin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
unmarshallXml
public static <T> T unmarshallXml(Class<T> clazz, InputStream in) throws javax.xml.bind.JAXBException, UnsupportedEncodingException - Throws:
javax.xml.bind.JAXBExceptionUnsupportedEncodingException
-