public class XTIFFFactory
extends java.lang.Object
implements java.io.Serializable
XTIFFField,
XTIFFDirectory,
Serialized Form| Constructor and Description |
|---|
XTIFFFactory()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
XTIFFDirectory |
createDirectory()
Constructs an empty XTIFFDirectory for encoding
|
XTIFFDirectory |
createDirectory(com.sun.media.jai.codec.SeekableStream stream,
int directory)
Constructs an XTIFFDirectoryFactory from a SeekableStream.
|
XTIFFDirectory |
createDirectory(com.sun.media.jai.codec.SeekableStream stream,
long ifd_offset)
Constructs a XTIFFDirectory by reading a SeekableStream.
|
XTIFFField |
createField(int tag,
int type,
int count,
java.lang.Object obj)
Constructs an XTIFFField from values
|
public XTIFFDirectory createDirectory(com.sun.media.jai.codec.SeekableStream stream, int directory) throws java.io.IOException
stream - a SeekableStream to read from.directory - the index of the directory to read.java.io.IOExceptionpublic XTIFFDirectory createDirectory(com.sun.media.jai.codec.SeekableStream stream, long ifd_offset) throws java.io.IOException
stream - a SeekableStream to read from.ifd_offset - the long byte offset of the directory.java.io.IOExceptionpublic XTIFFDirectory createDirectory()
public XTIFFField createField(int tag, int type, int count, java.lang.Object obj)
tag - the TIFF tag listed in XTIFFtype - the TIFF field type listed in XTIFFFieldcount - the number of values in array objobj - the array of valuesXTIFFField