public class TIFFFile extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteOrder |
byteOrder |
protected int |
byteSizeOfOffsets |
protected String |
filename |
protected boolean |
isBigTIFF |
protected RandomAccessFile |
raf |
protected int |
version |
| Modifier and Type | Method and Description |
|---|---|
ByteOrder |
getByteOrder() |
String |
getFileName() |
long |
getFilePointer() |
long |
getOffset() |
int |
getUnsigned16() |
long |
getUnsigned32() |
long |
getUnsigned64() |
boolean |
isBigTIFF() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
read(float[] f) |
int |
read(float[] f,
int off,
int len) |
int |
read(short[] s) |
int |
read(short[] s,
int off,
int len) |
void |
seek(long pos) |
String |
toString() |
protected ByteOrder byteOrder
protected int byteSizeOfOffsets
protected String filename
protected boolean isBigTIFF
protected RandomAccessFile raf
protected int version
public TIFFFile(String filename) throws IOException, TIFFException
IOExceptionTIFFExceptionpublic ByteOrder getByteOrder()
public String getFileName()
public long getFilePointer()
throws IOException
IOExceptionpublic final long getOffset()
throws EOFException,
IOException,
TIFFException
EOFExceptionIOExceptionTIFFExceptionpublic final int getUnsigned16()
throws EOFException,
IOException,
TIFFException
EOFExceptionIOExceptionTIFFExceptionpublic final long getUnsigned32()
throws EOFException,
IOException,
TIFFException
EOFExceptionIOExceptionTIFFExceptionpublic final long getUnsigned64()
throws EOFException,
IOException,
TIFFException
EOFExceptionIOExceptionTIFFExceptionpublic boolean isBigTIFF()
public int read(byte[] b)
throws IOException
IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic int read(float[] f)
throws IOException
IOExceptionpublic int read(float[] f,
int off,
int len)
throws IOException
IOExceptionpublic int read(short[] s)
throws IOException
IOExceptionpublic int read(short[] s,
int off,
int len)
throws IOException
IOExceptionpublic void seek(long pos)
throws IOException
IOException