public class XmlDeclarationStrippingInputStream extends InputStream
InputStream implementation which strips the leading XML
Declaration of a XML document If the xml document starts with
, the implementation will skip these bytes and start
streaming directly after the XML declaration| Constructor and Description |
|---|
XmlDeclarationStrippingInputStream(InputStream src)
Instantiates a new Xml declaration stripping input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic XmlDeclarationStrippingInputStream(InputStream src)
src - the srcpublic int read() throws IOException
read in class InputStreamIOExceptionCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.