com.sun.pdfview
public class PDFParser extends BaseWatchable
| Field Summary | |
|---|---|
| static int | debuglevel |
| Constructor Summary | |
|---|---|
| PDFParser(PDFPage cmds, byte[] stream, HashMap resources)
Don't call this constructor directly. | |
| Method Summary | |
|---|---|
| static void | debug(String msg, int level) |
| String | dumpStream() |
| void | dumpStreamToError() |
| static String | escape(String msg) |
| int | iterate()
parse the stream. commands are added to the PDFPage initialized
in the constructor as they are encountered.
|
| static void | setDebugLevel(int level) |
Page numbers in comments refer to the Adobe PDF specification.
Returns: