Uses of Class
org.apache.xmlgraphics.ps.dsc.DSCException
Packages that use DSCException
Package
Description
Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).
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 DSCExceptionModifier and TypeMethodDescriptionvoid
Handle a DSC event.void
Handle a DSC event.int
DSCParser.next()
Steps to the next item indicating the type of event.DSCParser.nextDSCComment
(String name) Advances to the next DSC comment with the given name.DSCParser.nextDSCComment
(String name, PSGenerator gen) Advances to the next DSC comment with the given name.DSCParser.nextEvent()
Steps to the next item returning the new event.DSCParser.nextPSComment
(String prefix, PSGenerator gen) Advances to the next PostScript comment with the given prefix.void
DSCParser.parse
(DSCHandler handler) Starts the parser in push parsing mode sending events to the DSCHandler instance.protected void
DSCParser.parseNext()
Parses the next event.void
DefaultNestedDocumentHandler.processEvent
(DSCEvent event, DSCParser parser) Called for each DSC event.void
DSCListener.processEvent
(DSCEvent event, DSCParser parser) Called for each DSC event.void
FilteringEventListener.processEvent
(DSCEvent event, DSCParser parser) Called for each DSC event.protected String
DSCParser.readLine()
Reads one line from the input fileConstructors in org.apache.xmlgraphics.ps.dsc that throw DSCException -
Uses of DSCException in org.apache.xmlgraphics.ps.dsc.tools
Methods in org.apache.xmlgraphics.ps.dsc.tools that throw DSCExceptionModifier and TypeMethodDescriptionstatic DSCHeaderComment
DSCTools.checkAndSkipDSC30Header
(DSCParser parser) Verifies that the file being parsed is a DSC 3.0 file.static void
PageExtractor.extractPages
(InputStream in, 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 DSCComment
DSCTools.nextPageOrTrailer
(DSCParser parser, PSGenerator gen) Advances the parser to the next page or to the trailer or the end of file comment.