public class FileImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
Constructor and Description |
---|
FileImageInputStream(File file) |
FileImageInputStream(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, skipBytes
public FileImageInputStream(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public FileImageInputStream(RandomAccessFile file)
public void close() throws IOException
close
in interface ImageInputStream
close
in class ImageInputStreamImpl
IOException
public long length()
length
in interface ImageInputStream
length
in class ImageInputStreamImpl
public int read() throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public int read(byte[] data, int offset, int len) throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public void seek(long position) throws IOException
seek
in interface ImageInputStream
seek
in class ImageInputStreamImpl
IOException