|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface containing events generated by the DSCParser. Applications can implement this interface to react to certain events.
| Method Summary | |
void |
comment(java.lang.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(java.lang.String line)
Called for a normal line of PostScript code. |
void |
startDocument(java.lang.String header)
Called as a new PostScript file starts. |
| Method Detail |
public void startDocument(java.lang.String header)
throws java.io.IOException
header - the first line of the DSC-compliant file
java.io.IOException - In case of an I/O error
public void endDocument()
throws java.io.IOException
java.io.IOException - In case of an I/O error
public void handleDSCComment(DSCComment comment)
throws java.io.IOException
comment - the DSC comment
java.io.IOException - In case of an I/O error
public void line(java.lang.String line)
throws java.io.IOException
line - the line of code
java.io.IOException - In case of an I/O error
public void comment(java.lang.String comment)
throws java.io.IOException
comment - the comment line
java.io.IOException - In case of an I/O error
|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||