public class FilterImageOutputStream extends ImageOutputStreamImpl implements ImageOutputStream, AccessibleStream
ImageOutputStream subclasses.| Modifier and Type | Field and Description |
|---|---|
protected ImageOutputStream |
ios |
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
FilterImageOutputStream(ImageOutputStream ios) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
flushBefore(long pos) |
Class<ImageOutputStream> |
getBinding()
Retrieve the class for the target object.
|
int |
getBitOffset() |
ByteOrder |
getByteOrder() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
ImageOutputStream |
getTarget()
Allows us to access the underlying ImageOutputStream.
|
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
void |
mark() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
readBit() |
long |
readBits(int numBits) |
boolean |
readBoolean() |
byte |
readByte() |
void |
readBytes(IIOByteBuffer buf,
int len) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
void |
readFully(char[] c,
int off,
int len) |
void |
readFully(double[] d,
int off,
int len) |
void |
readFully(float[] f,
int off,
int len) |
void |
readFully(int[] i,
int off,
int len) |
void |
readFully(long[] l,
int off,
int len) |
void |
readFully(short[] s,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
long |
readUnsignedInt() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
seek(long pos) |
void |
setBitOffset(int bitOffset) |
void |
setByteOrder(ByteOrder byteOrder) |
int |
skipBytes(int n) |
long |
skipBytes(long n) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeBit(int bit) |
void |
writeBits(long bits,
int numBits) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(char[] c,
int off,
int len) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeDoubles(double[] d,
int off,
int len) |
void |
writeFloat(float v) |
void |
writeFloats(float[] f,
int off,
int len) |
void |
writeInt(int v) |
void |
writeInts(int[] i,
int off,
int len) |
void |
writeLong(long v) |
void |
writeLongs(long[] l,
int off,
int len) |
void |
writeShort(int v) |
void |
writeShorts(short[] s,
int off,
int len) |
void |
writeUTF(String s) |
flushBitscheckClosed, finalize, lengthclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlengthprotected ImageOutputStream ios
public FilterImageOutputStream(ImageOutputStream ios)
public void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputwriteDouble in interface ImageOutputStreamwriteDouble in class ImageOutputStreamImplIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputwriteFloat in interface ImageOutputStreamwriteFloat in class ImageOutputStreamImplIOExceptionpublic void write(int b)
throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionpublic void writeBit(int bit)
throws IOException
writeBit in interface ImageOutputStreamwriteBit in class ImageOutputStreamImplIOExceptionpublic void writeByte(int v)
throws IOException
writeByte in interface DataOutputwriteByte in interface ImageOutputStreamwriteByte in class ImageOutputStreamImplIOExceptionpublic void writeChar(int v)
throws IOException
writeChar in interface DataOutputwriteChar in interface ImageOutputStreamwriteChar in class ImageOutputStreamImplIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface DataOutputwriteInt in interface ImageOutputStreamwriteInt in class ImageOutputStreamImplIOExceptionpublic void writeShort(int v)
throws IOException
writeShort in interface DataOutputwriteShort in interface ImageOutputStreamwriteShort in class ImageOutputStreamImplIOExceptionpublic void flushBefore(long pos)
throws IOException
flushBefore in interface ImageInputStreamflushBefore in interface ImageOutputStreamflushBefore in class ImageInputStreamImplIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface DataOutputwriteLong in interface ImageOutputStreamwriteLong in class ImageOutputStreamImplIOExceptionpublic void writeBits(long bits,
int numBits)
throws IOException
writeBits in interface ImageOutputStreamwriteBits in class ImageOutputStreamImplIOExceptionpublic void writeBoolean(boolean v)
throws IOException
writeBoolean in interface DataOutputwriteBoolean in interface ImageOutputStreamwriteBoolean in class ImageOutputStreamImplIOExceptionpublic void write(byte[] 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 writeChars(char[] c,
int off,
int len)
throws IOException
writeChars in interface ImageOutputStreamwriteChars in class ImageOutputStreamImplIOExceptionpublic void writeDoubles(double[] d,
int off,
int len)
throws IOException
writeDoubles in interface ImageOutputStreamwriteDoubles in class ImageOutputStreamImplIOExceptionpublic void writeFloats(float[] f,
int off,
int len)
throws IOException
writeFloats in interface ImageOutputStreamwriteFloats in class ImageOutputStreamImplIOExceptionpublic void writeInts(int[] i,
int off,
int len)
throws IOException
writeInts in interface ImageOutputStreamwriteInts in class ImageOutputStreamImplIOExceptionpublic void writeLongs(long[] l,
int off,
int len)
throws IOException
writeLongs in interface ImageOutputStreamwriteLongs in class ImageOutputStreamImplIOExceptionpublic void writeShorts(short[] s,
int off,
int len)
throws IOException
writeShorts in interface ImageOutputStreamwriteShorts in class ImageOutputStreamImplIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputwriteBytes in interface ImageOutputStreamwriteBytes in class ImageOutputStreamImplIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputwriteChars in interface ImageOutputStreamwriteChars in class ImageOutputStreamImplIOExceptionpublic void writeUTF(String s) throws IOException
writeUTF in interface DataOutputwriteUTF in interface ImageOutputStreamwriteUTF in class ImageOutputStreamImplIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in interface ImageInputStreamreadByte in class ImageInputStreamImplIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputreadChar in interface ImageInputStreamreadChar in class ImageInputStreamImplIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in interface ImageInputStreamreadDouble in class ImageInputStreamImplIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in interface ImageInputStreamreadFloat in class ImageInputStreamImplIOExceptionpublic int getBitOffset()
throws IOException
getBitOffset in interface ImageInputStreamgetBitOffset in class ImageInputStreamImplIOExceptionpublic int read()
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic int readBit()
throws IOException
readBit in interface ImageInputStreamreadBit in class ImageInputStreamImplIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputreadInt in interface ImageInputStreamreadInt in class ImageInputStreamImplIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in interface ImageInputStreamreadUnsignedByte in class ImageInputStreamImplIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in interface ImageInputStreamreadUnsignedShort in class ImageInputStreamImplIOExceptionpublic long getFlushedPosition()
getFlushedPosition in interface ImageInputStreamgetFlushedPosition in class ImageInputStreamImplpublic long getStreamPosition()
throws IOException
getStreamPosition in interface ImageInputStreamgetStreamPosition in class ImageInputStreamImplIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong in interface ImageInputStreamreadLong in class ImageInputStreamImplIOExceptionpublic long readUnsignedInt()
throws IOException
readUnsignedInt in interface ImageInputStreamreadUnsignedInt in class ImageInputStreamImplIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputreadShort in interface ImageInputStreamreadShort in class ImageInputStreamImplIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ImageInputStreamclose in class ImageInputStreamImplIOExceptionpublic void flush()
throws IOException
flush in interface ImageInputStreamflush in class ImageInputStreamImplIOExceptionpublic void mark()
mark in interface ImageInputStreammark in class ImageInputStreamImplpublic void reset()
throws IOException
reset in interface ImageInputStreamreset 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 boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in interface ImageInputStreamreadBoolean in class ImageInputStreamImplIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes in interface DataInputskipBytes in interface ImageInputStreamskipBytes in class ImageInputStreamImplIOExceptionpublic long readBits(int numBits)
throws IOException
readBits in interface ImageInputStreamreadBits in class ImageInputStreamImplIOExceptionpublic void setBitOffset(int bitOffset)
throws IOException
setBitOffset in interface ImageInputStreamsetBitOffset in class ImageInputStreamImplIOExceptionpublic long skipBytes(long n)
throws IOException
skipBytes in interface ImageInputStreamskipBytes in class ImageInputStreamImplIOExceptionpublic void seek(long pos)
throws IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImplIOExceptionpublic int read(byte[] b)
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic void readFully(byte[] b)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(char[] c,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(double[] d,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(float[] f,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(int[] i,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(long[] l,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic void readFully(short[] s,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamreadFully in class ImageInputStreamImplIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputreadLine in interface ImageInputStreamreadLine in class ImageInputStreamImplIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in interface ImageInputStreamreadUTF in class ImageInputStreamImplIOExceptionpublic ByteOrder getByteOrder()
getByteOrder in interface ImageInputStreamgetByteOrder in class ImageInputStreamImplpublic void setByteOrder(ByteOrder byteOrder)
setByteOrder in interface ImageInputStreamsetByteOrder in class ImageInputStreamImplpublic void readBytes(IIOByteBuffer buf, int len) throws IOException
readBytes in interface ImageInputStreamreadBytes in class ImageInputStreamImplIOExceptionpublic ImageOutputStream getTarget()
getTarget in interface AccessibleStreamImageOutputStream.public Class<ImageOutputStream> getBinding()
AccessibleStreamgetBinding in interface AccessibleStreamCopyright © 2006–2019 GeoSolutions. All rights reserved.