public class XMLInputStream extends InputStream
InputStream adapter for StAX| Constructor and Description |
|---|
XMLInputStream(StAXSource source,
XMLOutputFactory outFactory)
Return a UTF-8
InputStream of the XML |
XMLInputStream(StAXSource source,
XMLOutputFactory outFactory,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic XMLInputStream(StAXSource source, XMLOutputFactory outFactory) throws XMLStreamException
InputStream of the XMLsource - outFactory - XMLStreamExceptionpublic XMLInputStream(StAXSource source, XMLOutputFactory outFactory, String encoding) throws XMLStreamException
XMLStreamExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2019. All rights reserved.