| java.lang.Object org.libtiff.jai.codec.XTIFFFactory
All known Subclasses: org.geotiff.image.jai.GeoTIFFFactory,
XTIFFFactory | public class XTIFFFactory extends Object implements java.io.Serializable(Code) | | A class representing the factory for constructing a XTIFFDirectory,
and the corresponding XTIFFFields. If you are creating extensions
to those classes, extend this class as well. See the GeoTIFF package
for an example of how to do this.
See Also: org.libtiff.jai.TIFFDescriptor See Also: XTIFFField See Also: XTIFFDirectory |
XTIFFFactory | public XTIFFFactory()(Code) | | Default constructor
|
createDirectory | public XTIFFDirectory createDirectory(SeekableStream stream, int directory) throws IOException(Code) | | Constructs an XTIFFDirectoryFactory from a SeekableStream.
The directory parameter specifies which directory to read from
the linked list present in the stream; directory 0 is normally
read but it is possible to store multiple images in a single
TIFF file by maintaing multiple directories.
Parameters: stream - a SeekableStream to read from. Parameters: directory - the index of the directory to read. |
createDirectory | public XTIFFDirectory createDirectory(SeekableStream stream, long ifd_offset) throws IOException(Code) | | Constructs a XTIFFDirectory by reading a SeekableStream.
The ifd_offset parameter specifies the stream offset from which
to begin reading; this mechanism is sometimes used to store
private IFDs within a TIFF file that are not part of the normal
sequence of IFDs.
Parameters: stream - a SeekableStream to read from. Parameters: ifd_offset - the long byte offset of the directory. |
createDirectory | public XTIFFDirectory createDirectory()(Code) | | Constructs an empty XTIFFDirectory for encoding
|
createField | public XTIFFField createField(int tag, int type, int count, Object obj)(Code) | | Constructs an XTIFFField from values
Parameters: tag - the TIFF tag listed in XTIFF Parameters: type - the TIFF field type listed in XTIFFField Parameters: count - the number of values in array obj Parameters: obj - the array of values See Also: XTIFFField |
|
|