public class SubImageOutputStream extends ImageOutputStreamImpl
SubImageOutputStream.bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
SubImageOutputStream(ImageOutputStream out,
ByteOrder bo,
boolean forwardFlushAndClose) |
SubImageOutputStream(ImageOutputStream out,
long offset,
ByteOrder bo,
boolean forwardFlushAndClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose() |
void |
flush() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
boolean |
isCached()
Default implementation returns false.
|
boolean |
isCachedFile() |
boolean |
isCachedMemory()
Default implementation returns false.
|
long |
length() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushBits, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTFcheckClosed, finalize, flushBefore, getBitOffset, getByteOrder, 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, skipBytesclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushBeforegetBitOffset, getByteOrder, 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 SubImageOutputStream(ImageOutputStream out, ByteOrder bo, boolean forwardFlushAndClose) throws IOException
IOExceptionpublic SubImageOutputStream(ImageOutputStream out, long offset, ByteOrder bo, boolean forwardFlushAndClose) throws IOException
IOExceptionpublic int read()
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic long getStreamPosition()
throws IOException
getStreamPosition in interface ImageInputStreamgetStreamPosition in class ImageInputStreamImplIOExceptionpublic void seek(long pos)
throws IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImplIOExceptionpublic void flush()
throws IOException
flush in interface ImageInputStreamflush in class ImageInputStreamImplIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ImageInputStreamclose in class ImageInputStreamImplIOExceptionpublic long getFlushedPosition()
getFlushedPosition in interface ImageInputStreamgetFlushedPosition in class ImageInputStreamImplpublic boolean isCached()
isCached in interface ImageInputStreamisCached in class ImageInputStreamImplpublic boolean isCachedMemory()
isCachedMemory in interface ImageInputStreamisCachedMemory in class ImageInputStreamImplpublic boolean isCachedFile()
isCachedFile in interface ImageInputStreamisCachedFile in class ImageInputStreamImplpublic long length()
length in interface ImageInputStreamlength in class ImageInputStreamImplpublic void write(int b)
throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionpublic void dispose()
throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.