public interface DSCHandler
Modifier and Type | Method and Description |
---|---|
void |
comment(String comment)
Called for any line containing a full-line PostScript comment.
|
void |
endDocument()
Called when the PostScript file is fully processed, i.e.
|
void |
handleDSCComment(DSCComment comment)
Called for each standard DSC comment.
|
void |
line(String line)
Called for a normal line of PostScript code.
|
void |
startDocument(String header)
Called as a new PostScript file starts.
|
void startDocument(String header) throws IOException
header
- the first line of the DSC-compliant fileIOException
- In case of an I/O errorvoid endDocument() throws IOException
IOException
- In case of an I/O errorvoid handleDSCComment(DSCComment comment) throws IOException
comment
- the DSC commentIOException
- In case of an I/O errorvoid line(String line) throws IOException
line
- the line of codeIOException
- In case of an I/O errorvoid comment(String comment) throws IOException
comment
- the comment lineIOException
- In case of an I/O errorCopyright © 2024 Apache Software Foundation. All rights reserved.