Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.xobject » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics.xobject
class: PDCcitt.TiffWrapper [javadoc | source]
java.lang.Object
   java.io.InputStream
      org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper

All Implemented Interfaces:
    Closeable

Extends InputStream to wrap the data from the CCITT Fax with a suitable TIFF Header. For details see www.tiff.org, which contains useful information including pointers to the TIFF 6.0 Specification
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper Summary:
markSupported,   read,   read,   read,   reset,   skip
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper Detail:
 public boolean markSupported() 
    {@inheritDoc}
 public int read() throws IOException 
    For simple read, take a byte from the tiffheader array or pass through. {@inheritDoc}
 public int read(byte[] data) throws IOException 
    For read methods only return as many bytes as we have left in the header if we've exhausted the header, pass through to the InputStream of the raw CCITT data. {@inheritDoc}
 public int read(byte[] data,
    int off,
    int len) throws IOException 
    For read methods only return as many bytes as we have left in the header if we've exhausted the header, pass through to the InputStream of the raw CCITT data. {@inheritDoc}
 public  void reset() throws IOException 
    {@inheritDoc}
 public long skip(long n) throws IOException 
    When skipping if any header data not yet read, only allow to skip what we've in the buffer Otherwise just pass through. {@inheritDoc}