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, writeUTFcheckClosed, 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, setByteOrderclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBitOffset, 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, setByteOrderpublic ImageOutputStreamAdapter(OutputStream os)
public void flushBefore(long arg0)
throws IOException
flushBefore in interface ImageInputStreamflushBefore in interface ImageOutputStreamflushBefore in class ImageInputStreamImplIOExceptionpublic long getFlushedPosition()
getFlushedPosition in interface ImageInputStreamgetFlushedPosition in class ImageInputStreamImplpublic long getStreamPosition()
throws IOException
getStreamPosition in interface ImageInputStreamgetStreamPosition in class ImageInputStreamImplIOExceptionpublic boolean isCached()
isCached in interface ImageInputStreamisCached in class ImageInputStreamImplpublic boolean isCachedFile()
isCachedFile in interface ImageInputStreamisCachedFile in class ImageInputStreamImplpublic boolean isCachedMemory()
isCachedMemory in interface ImageInputStreamisCachedMemory in class ImageInputStreamImplpublic void mark()
mark in interface ImageInputStreammark in class ImageInputStreamImplpublic void reset()
throws IOException
reset in interface ImageInputStreamreset in class ImageInputStreamImplIOExceptionpublic void seek(long arg0)
throws IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImplIOExceptionpublic int skipBytes(int arg0)
throws IOException
skipBytes in interface DataInputskipBytes in interface ImageInputStreamskipBytes in class ImageInputStreamImplIOExceptionpublic long skipBytes(long arg0)
throws IOException
skipBytes in interface ImageInputStreamskipBytes in class ImageInputStreamImplIOExceptionpublic void write(int b)
throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionImageOutputStreamImpl.write(int)public void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionImageOutputStreamImpl.write(byte[], int, int)public int read()
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionImageInputStreamImpl.read()public int read(byte[] b,
int off,
int len)
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionImageInputStreamImpl.read(byte[], int, int)public void flush()
throws IOException
flush in interface ImageInputStreamflush in class ImageInputStreamImplIOExceptionImageInputStreamImpl.flush()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ImageInputStreamclose in class ImageInputStreamImplIOExceptionImageInputStreamImpl.close()public OutputStream getTarget()
AccessibleStreamgetTarget in interface AccessibleStream<OutputStream>public Class<OutputStream> getBinding()
AccessibleStreamgetBinding in interface AccessibleStream<OutputStream>Copyright © 2006–2019 GeoSolutions. All rights reserved.