public class XMLInputStream extends InputStream
InputStream
adapter for StAXConstructor 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, skip
public XMLInputStream(StAXSource source, XMLOutputFactory outFactory) throws XMLStreamException
InputStream
of the XMLsource
- outFactory
- XMLStreamException
public XMLInputStream(StAXSource source, XMLOutputFactory outFactory, String encoding) throws XMLStreamException
XMLStreamException
public int read() throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2019. All rights reserved.