public class PdfContentParser extends Object
| Constructor and Description |
|---|
PdfContentParser(PRTokeniser tokeniser)
Creates a new instance of PdfContentParser
|
| Modifier and Type | Method and Description |
|---|---|
PRTokeniser |
getTokeniser()
Gets the tokeniser.
|
ArrayList |
parse(ArrayList ls)
Parses a single command from the content.
|
void |
setTokeniser(PRTokeniser tokeniser)
Sets the tokeniser.
|
public PdfContentParser(PRTokeniser tokeniser)
tokeniser - the tokeniser with the contentpublic ArrayList parse(ArrayList ls) throws IOException
ls - an ArrayList to use. It will be cleared before using. If it's
null will create a new ArrayListArrayList given as argument or a new oneIOException - on errorpublic PRTokeniser getTokeniser()
public void setTokeniser(PRTokeniser tokeniser)
tokeniser - the tokeniserCopyright © 2021. All rights reserved.