public class XmlDeclStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_lineEndCR |
protected boolean |
_lineEndCRLF |
protected boolean |
_lineEndLF |
protected int |
_prevChar |
in| Constructor and Description |
|---|
XmlDeclStream(InputStream strm) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkLineEnd(int ch) |
List<Integer> |
getCharacterReferences()
Returns the character references as a List
of Integers.
|
String |
getEncoding()
Returns the encoding string.
|
String |
getKindOfLineEnd() |
String |
getStandalone()
Returns the standalone string.
|
String |
getVersion()
Returns the version string.
|
int |
read()
Reads the next byte of data from this input stream.
|
int |
read(byte[] b)
Reads up to
byte.length bytes of data from this
input stream into an array of bytes. |
int |
read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this
input stream into an array of bytes. |
available, close, mark, markSupported, reset, skipprotected boolean _lineEndCR
protected boolean _lineEndLF
protected boolean _lineEndCRLF
protected int _prevChar
public XmlDeclStream(InputStream strm)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
byte.length bytes of data from this
input stream into an array of bytes.
Processes bytes as it reads them.read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
len bytes of data from this
input stream into an array of bytes.
Processes bytes as it reads them.read in class FilterInputStreamIOExceptionpublic List<Integer> getCharacterReferences()
public String getVersion()
public String getEncoding()
public String getStandalone()
protected void checkLineEnd(int ch)
public String getKindOfLineEnd()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.