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
IOException
TIFFException
public ByteOrder getByteOrder()
public String getFileName()
public long getFilePointer() throws IOException
IOException
public final long getOffset() throws EOFException, IOException, TIFFException
EOFException
IOException
TIFFException
public final int getUnsigned16() throws EOFException, IOException, TIFFException
EOFException
IOException
TIFFException
public final long getUnsigned32() throws EOFException, IOException, TIFFException
EOFException
IOException
TIFFException
public final long getUnsigned64() throws EOFException, IOException, TIFFException
EOFException
IOException
TIFFException
public boolean isBigTIFF()
public int read(byte[] b) throws IOException
IOException
public int read(byte[] b, int off, int len) throws IOException
IOException
public int read(float[] f) throws IOException
IOException
public int read(float[] f, int off, int len) throws IOException
IOException
public int read(short[] s) throws IOException
IOException
public int read(short[] s, int off, int len) throws IOException
IOException
public void seek(long pos) throws IOException
IOException