public class FileImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
FileImageInputStream(java.io.File file) |
FileImageInputStream(java.io.RandomAccessFile file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
length() |
int |
read() |
int |
read(byte[] data,
int offset,
int len) |
void |
seek(long position) |
checkClosed, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytespublic FileImageInputStream(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic FileImageInputStream(java.io.RandomAccessFile file)
public void close() throws java.io.IOException
close in interface ImageInputStreamclose in class ImageInputStreamImpljava.io.IOExceptionpublic long length()
length in interface ImageInputStreamlength in class ImageInputStreamImplpublic int read() throws java.io.IOException
read in interface ImageInputStreamread in class ImageInputStreamImpljava.io.IOExceptionpublic int read(byte[] data, int offset, int len) throws java.io.IOException
read in interface ImageInputStreamread in class ImageInputStreamImpljava.io.IOExceptionpublic void seek(long position) throws java.io.IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImpljava.io.IOException