public class ImageOutputStreamAdapter extends ImageOutputStreamImpl implements AccessibleStream<OutputStream>
bitOffset, byteOrder, flushedPos, streamPos
Constructor and Description |
---|
ImageOutputStreamAdapter(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
flushBefore(long arg0) |
Class<OutputStream> |
getBinding()
Retrieve the class for the target object.
|
long |
getFlushedPosition() |
long |
getStreamPosition() |
OutputStream |
getTarget()
Retrieves the target object on which we work.
|
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
void |
mark() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
seek(long arg0) |
int |
skipBytes(int arg0) |
long |
skipBytes(long arg0) |
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, getBitOffset, getByteOrder, length, 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, setBitOffset, setByteOrder
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBitOffset, getByteOrder, length, 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, setBitOffset, setByteOrder
public ImageOutputStreamAdapter(OutputStream os)
public void flushBefore(long arg0) throws IOException
flushBefore
in interface ImageInputStream
flushBefore
in interface ImageOutputStream
flushBefore
in class ImageInputStreamImpl
IOException
public long getFlushedPosition()
getFlushedPosition
in interface ImageInputStream
getFlushedPosition
in class ImageInputStreamImpl
public long getStreamPosition() throws IOException
getStreamPosition
in interface ImageInputStream
getStreamPosition
in class ImageInputStreamImpl
IOException
public boolean isCached()
isCached
in interface ImageInputStream
isCached
in class ImageInputStreamImpl
public boolean isCachedFile()
isCachedFile
in interface ImageInputStream
isCachedFile
in class ImageInputStreamImpl
public boolean isCachedMemory()
isCachedMemory
in interface ImageInputStream
isCachedMemory
in class ImageInputStreamImpl
public void mark()
mark
in interface ImageInputStream
mark
in class ImageInputStreamImpl
public void reset() throws IOException
reset
in interface ImageInputStream
reset
in class ImageInputStreamImpl
IOException
public void seek(long arg0) throws IOException
seek
in interface ImageInputStream
seek
in class ImageInputStreamImpl
IOException
public int skipBytes(int arg0) throws IOException
skipBytes
in interface DataInput
skipBytes
in interface ImageInputStream
skipBytes
in class ImageInputStreamImpl
IOException
public long skipBytes(long arg0) throws IOException
skipBytes
in interface ImageInputStream
skipBytes
in class ImageInputStreamImpl
IOException
public void write(int b) throws IOException
write
in interface DataOutput
write
in interface ImageOutputStream
write
in class ImageOutputStreamImpl
IOException
ImageOutputStreamImpl.write(int)
public void write(byte[] b, int off, int len) throws IOException
write
in interface DataOutput
write
in interface ImageOutputStream
write
in class ImageOutputStreamImpl
IOException
ImageOutputStreamImpl.write(byte[], int, int)
public int read() throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
ImageInputStreamImpl.read()
public int read(byte[] b, int off, int len) throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
ImageInputStreamImpl.read(byte[], int, int)
public void flush() throws IOException
flush
in interface ImageInputStream
flush
in class ImageInputStreamImpl
IOException
ImageInputStreamImpl.flush()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ImageInputStream
close
in class ImageInputStreamImpl
IOException
ImageInputStreamImpl.close()
public OutputStream getTarget()
AccessibleStream
getTarget
in interface AccessibleStream<OutputStream>
public Class<OutputStream> getBinding()
AccessibleStream
getBinding
in interface AccessibleStream<OutputStream>
Copyright © 2006–2014 GeoSolutions. All rights reserved.