public class SubImageOutputStream
extends javax.imageio.stream.ImageOutputStreamImpl
SubImageOutputStream
.Constructor and Description |
---|
SubImageOutputStream(javax.imageio.stream.ImageOutputStream out,
java.nio.ByteOrder bo,
boolean forwardFlushAndClose) |
SubImageOutputStream(javax.imageio.stream.ImageOutputStream out,
long offset,
java.nio.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, writeUTF
checkClosed, 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, skipBytes
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, skipBytes
public SubImageOutputStream(javax.imageio.stream.ImageOutputStream out, java.nio.ByteOrder bo, boolean forwardFlushAndClose) throws java.io.IOException
java.io.IOException
public SubImageOutputStream(javax.imageio.stream.ImageOutputStream out, long offset, java.nio.ByteOrder bo, boolean forwardFlushAndClose) throws java.io.IOException
java.io.IOException
public int read() throws java.io.IOException
read
in interface javax.imageio.stream.ImageInputStream
read
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in interface javax.imageio.stream.ImageInputStream
read
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public long getStreamPosition() throws java.io.IOException
getStreamPosition
in interface javax.imageio.stream.ImageInputStream
getStreamPosition
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public void seek(long pos) throws java.io.IOException
seek
in interface javax.imageio.stream.ImageInputStream
seek
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface javax.imageio.stream.ImageInputStream
flush
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface javax.imageio.stream.ImageInputStream
close
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public long getFlushedPosition()
getFlushedPosition
in interface javax.imageio.stream.ImageInputStream
getFlushedPosition
in class javax.imageio.stream.ImageInputStreamImpl
public boolean isCached()
isCached
in interface javax.imageio.stream.ImageInputStream
isCached
in class javax.imageio.stream.ImageInputStreamImpl
public boolean isCachedMemory()
isCachedMemory
in interface javax.imageio.stream.ImageInputStream
isCachedMemory
in class javax.imageio.stream.ImageInputStreamImpl
public boolean isCachedFile()
isCachedFile
in interface javax.imageio.stream.ImageInputStream
isCachedFile
in class javax.imageio.stream.ImageInputStreamImpl
public long length()
length
in interface javax.imageio.stream.ImageInputStream
length
in class javax.imageio.stream.ImageInputStreamImpl
public void write(int b) throws java.io.IOException
write
in interface java.io.DataOutput
write
in interface javax.imageio.stream.ImageOutputStream
write
in class javax.imageio.stream.ImageOutputStreamImpl
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in interface java.io.DataOutput
write
in interface javax.imageio.stream.ImageOutputStream
write
in class javax.imageio.stream.ImageOutputStreamImpl
java.io.IOException
public void dispose() throws java.io.IOException
java.io.IOException