xmlgraphics-commons 1.2

Uses of Class
org.apache.xmlgraphics.ps.dsc.DSCException

Packages that use DSCException
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
protected  java.lang.String DSCParser.readLine()
          Reads one line from the input file
 void DSCParser.parse(DSCHandler handler)
          Starts the parser in push parsing mode sending events to the DSCHandler instance.
 int DSCParser.next()
          Steps to the next item indicating the type of event.
 DSCEvent DSCParser.nextEvent()
          Steps to the next item returning the new event.
protected  void DSCParser.parseNext()
          Parses the next event.
 DSCComment DSCParser.nextDSCComment(java.lang.String name)
          Advances to the next DSC comment with the given name.
 DSCComment DSCParser.nextDSCComment(java.lang.String name, PSGenerator gen)
          Advances to the next DSC comment with the given name.
 PostScriptComment DSCParser.nextPSComment(java.lang.String prefix, PSGenerator gen)
          Advances to the next PostScript comment with the given prefix.
 void NestedDocumentHandler.handle(DSCEvent event, DSCParser parser)
          Handle a DSC event.
 void DefaultNestedDocumentHandler.handle(DSCEvent event, DSCParser parser)
           
 

Constructors in org.apache.xmlgraphics.ps.dsc that throw DSCException
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
static void PageExtractor.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 DSCHeaderComment DSCTools.checkAndSkipDSC30Header(DSCParser parser)
          Verifies that the file being parsed is a DSC 3.0 file.
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.
 


xmlgraphics-commons 1.2

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.