intarsys PDF library API

Uses of Class
de.intarsys.pdf.parser.COSLoadException

Packages that use COSLoadException
de.intarsys.pdf.cos This package implements the low level document and its datatypes according to the pdf specification. 
de.intarsys.pdf.parser Everything related to reading PDF and COS data from data streams. 
de.intarsys.pdf.pd The higher level building blocks of a PDF document. 
de.intarsys.pdf.st The storage level semantics of a PDF document. 
 

Uses of COSLoadException in de.intarsys.pdf.cos
 

Methods in de.intarsys.pdf.cos that throw COSLoadException
 COSDocument StandardDocumentFactory.createDocument(ILocator locator)
           
 COSDocument ICOSDocumentFactory.createDocument(ILocator locator)
          Create a COSDocument instance representing the object structure of the PDF file designated by locator.
static COSDocument COSDocument.createFromLocator(ILocator locator)
          Create a COSDocument based on a Locator.
static COSDocument COSDocument.createFromST(STDocument doc)
          Create a COSDocument based on a STDocument.
static List COSTools.getVersions(COSDocument doc)
          A collection of ILocator instances, representing the versions created when writing incrementally.
 void COSDocument.restore(ILocator locator)
          Restore this from a locator.
 

Uses of COSLoadException in de.intarsys.pdf.parser
 

Subclasses of COSLoadException in de.intarsys.pdf.parser
 class COSLoadError
           
 class COSLoadWarning
           
 

Methods in de.intarsys.pdf.parser that throw COSLoadException
 void IPDFParserExceptionHandler.error(COSLoadError error)
           
 void PDFParser.handleError(COSLoadError error)
          Handle an error if an exceptionHandler is set.
 void PDFParser.handleWarning(COSLoadWarning warning)
          Handle a warning if an exceptionHandler is set.
 Object PDFParser.parseElement(IRandomAccess input)
          parse the basic elements from the current stream position.
 STDocType PDFParser.parseHeader(IRandomAccess input)
          pdf header see PDF Reference v1.4, chapter 3.4.1 Header COSHEader ::= "%PDF-" version.
 COSObject COSDocumentParser.parseIndirectObject(IRandomAccess input, ISystemSecurityHandler securityHandler)
          read a pdf style object from the input. see PDF Reference v1.4, chapter 3.2.9 Indirect Objects COSIndirectObject ::= ObjNum GenNum "obj" Object "endobj"
 int COSDocumentParser.parseStartXRef(IRandomAccess input)
          the startxref value.
 CSContent CSContentParser.parseStream(byte[] data)
          parse a content stream.
 CSContent CSContentParser.parseStream(IRandomAccess input)
          parse a content stream.
 COSDictionary COSDocumentParser.parseTrailer(IRandomAccess input)
          parse the trailer section from the current stream position. see PDF Reference v1.4, chapter 3.4.4 File Trailer DocumentTrailer ::= "trailer" COSDict "startxref" COSNumber
 int COSDocumentParser.searchLastStartXRef(IRandomAccess input)
          Searches the offset to the first trailer in the last 1024 bytes of the document.
 int COSDocumentParser.searchLinearized(IRandomAccess input)
          Deprecated. Don't use this anymore Returns the offset of the dictionary with linearization parameters if any. Returns -1 otherwise.
static COSObject PDFParser.toCOSObject(byte[] data)
          parse the given byte array to a valid COSObject.
 void IPDFParserExceptionHandler.warning(COSLoadWarning warning)
           
 

Uses of COSLoadException in de.intarsys.pdf.pd
 

Methods in de.intarsys.pdf.pd that throw COSLoadException
static PDDocument PDDocument.createFromCos(COSDocument doc)
          create a pd document based on a cos level object
static PDDocument PDDocument.createFromLocator(ILocator locator)
           
 void PDDocument.restore(ILocator locator)
           
 

Uses of COSLoadException in de.intarsys.pdf.st
 

Methods in de.intarsys.pdf.st that throw COSLoadException
static STDocument STDocument.createFromLocator(ILocator locator)
          Create a new document representing the data referenced by locator.
 COSObject STDocument.load(COSIndirectObject ref)
          Load a COSObject from the documents data.
 COSObject STXRefSection.load(int objectNumber, ISystemSecurityHandler securityHandler)
           
 COSObject STTrailerXRefSection.load(int objectNumber, ISystemSecurityHandler securityHandler)
           
 COSObject STXRefEntryOccupied.load(STDocument doc, ISystemSecurityHandler securityHandler)
           
 COSObject STXRefEntryCompressed.load(STDocument doc, ISystemSecurityHandler securityHandler)
           
abstract  COSObject STXRefEntry.load(STDocument doc, ISystemSecurityHandler securityHandler)
           
 void STDocument.loadAll()
           
 COSObject COSObjectStream.loadObject(int index, COSDocumentParser parser)
           
 void COSObjectStream.parse(int index, COSDocumentParser parser)
           
 STXRefSection XRefTrailerParser.parse(IRandomAccess randomAcces)
           
 STXRefSection XRefStreamParser.parse(IRandomAccess randomAcces)
           
 STXRefSection XRefFallbackParser.parse(IRandomAccess input)
           
abstract  STXRefSection AbstractXRefParser.parse(IRandomAccess randomAcces)
          Parser the STXRefSection from the randomAccess.
 void STDocument.reparseFromLocator()
          Reparses the XREF sections without actually instantiating.
 void STDocument.restore(ILocator newLocator)
           
 


intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.