public class NotSeekableBaseParser extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected ASBufferedInFilter |
source |
| Constructor and Description |
|---|
NotSeekableBaseParser(ASInputStream stream)
Constructor from stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes source stream.
|
protected boolean |
findKeyword(Token.Keyword keyword) |
protected boolean |
findKeyword(Token.Keyword keyword,
int lookUpSize) |
protected String |
getLine() |
protected byte[] |
getLineBytes() |
protected Token |
getToken() |
protected void |
initializeToken() |
protected static boolean |
isCR(int c) |
protected boolean |
isDigit() |
protected static boolean |
isDigit(byte c) |
protected static boolean |
isLF(int c) |
protected void |
nextToken() |
protected void |
readNumber() |
protected String |
readUntilDelimiter() |
protected void |
skipSpaces() |
protected void |
skipSpaces(boolean skipComment) |
protected void |
skipStreamSpaces() |
protected ASBufferedInFilter source
public NotSeekableBaseParser(ASInputStream stream) throws IOException
stream - is source data stream.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void initializeToken()
protected Token getToken()
protected String getLine() throws IOException
IOExceptionprotected byte[] getLineBytes()
throws IOException
IOExceptionprotected String readUntilDelimiter() throws IOException
IOExceptionprotected boolean findKeyword(Token.Keyword keyword) throws IOException
IOExceptionprotected boolean findKeyword(Token.Keyword keyword, int lookUpSize) throws IOException
IOExceptionprotected void nextToken()
throws IOException
IOExceptionprotected void skipSpaces()
throws IOException
IOExceptionprotected void skipSpaces(boolean skipComment)
throws IOException
IOExceptionprotected void skipStreamSpaces()
throws IOException
IOExceptionprotected boolean isDigit()
throws IOException
IOExceptionprotected static boolean isDigit(byte c)
protected static boolean isLF(int c)
protected static boolean isCR(int c)
protected void readNumber()
throws IOException
IOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.