Uses of Class
org.apache.xmlgraphics.ps.dsc.DSCException
-
Packages that use DSCException Package Description org.apache.xmlgraphics.ps.dsc Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).org.apache.xmlgraphics.ps.dsc.tools Tools for working with DSC-compliant PostScript files. -
-
Uses of DSCException in org.apache.xmlgraphics.ps.dsc
Methods in org.apache.xmlgraphics.ps.dsc that throw DSCException Modifier and Type Method Description voidDefaultNestedDocumentHandler. handle(DSCEvent event, DSCParser parser)Handle a DSC event.voidNestedDocumentHandler. handle(DSCEvent event, DSCParser parser)Handle a DSC event.intDSCParser. next()Steps to the next item indicating the type of event.DSCCommentDSCParser. nextDSCComment(java.lang.String name)Advances to the next DSC comment with the given name.DSCCommentDSCParser. nextDSCComment(java.lang.String name, PSGenerator gen)Advances to the next DSC comment with the given name.DSCEventDSCParser. nextEvent()Steps to the next item returning the new event.PostScriptCommentDSCParser. nextPSComment(java.lang.String prefix, PSGenerator gen)Advances to the next PostScript comment with the given prefix.voidDSCParser. parse(DSCHandler handler)Starts the parser in push parsing mode sending events to the DSCHandler instance.protected voidDSCParser. parseNext()Parses the next event.voidDefaultNestedDocumentHandler. processEvent(DSCEvent event, DSCParser parser)Called for each DSC event.voidDSCListener. processEvent(DSCEvent event, DSCParser parser)Called for each DSC event.voidFilteringEventListener. processEvent(DSCEvent event, DSCParser parser)Called for each DSC event.protected java.lang.StringDSCParser. readLine()Reads one line from the input fileConstructors in org.apache.xmlgraphics.ps.dsc that throw DSCException Constructor Description DSCParser(java.io.InputStream in)Creates a new DSC parser. -
Uses of DSCException in org.apache.xmlgraphics.ps.dsc.tools
Methods in org.apache.xmlgraphics.ps.dsc.tools that throw DSCException Modifier and Type Method Description static DSCHeaderCommentDSCTools. checkAndSkipDSC30Header(DSCParser parser)Verifies that the file being parsed is a DSC 3.0 file.static voidPageExtractor. extractPages(java.io.InputStream in, java.io.OutputStream out, int from, int to)Parses a DSC-compliant file and pipes the content through to the OutputStream omitting all pages not within the range.static DSCCommentDSCTools. nextPageOrTrailer(DSCParser parser, PSGenerator gen)Advances the parser to the next page or to the trailer or the end of file comment.
-