|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.libtiff.jai.codec.XTIFFFactory
public class XTIFFFactory
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.
XTIFFField,
XTIFFDirectory,
Serialized Form| Constructor Summary | |
|---|---|
XTIFFFactory()
Default constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XTIFFFactory()
| Method Detail |
|---|
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.IOException
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||