public class ByteArrayImageInputStream extends ByteArrayInputStream implements ImageInputStream
| Constructor and Description |
|---|
ByteArrayImageInputStream(byte[] buf) |
ByteArrayImageInputStream(byte[] buf,
ByteOrder byteOrder) |
ByteArrayImageInputStream(byte[] buf,
int offset,
int length,
ByteOrder byteOrder) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
flushBefore(long pos) |
int |
getBitOffset() |
ByteOrder |
getByteOrder() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
long |
length() |
void |
mark() |
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) |
available, close, mark, markSupported, read, read, skipreadequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, read, read, readpublic ByteArrayImageInputStream(byte[] buf)
public ByteArrayImageInputStream(byte[] buf,
ByteOrder byteOrder)
public ByteArrayImageInputStream(byte[] buf,
int offset,
int length,
ByteOrder byteOrder)
public void setByteOrder(ByteOrder byteOrder)
setByteOrder in interface ImageInputStreampublic ByteOrder getByteOrder()
getByteOrder in interface ImageInputStreampublic void readBytes(IIOByteBuffer buf, int len) throws IOException
readBytes in interface ImageInputStreamIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in interface ImageInputStreamIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in interface ImageInputStreamIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in interface ImageInputStreamIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputreadShort in interface ImageInputStreamIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in interface ImageInputStreamIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputreadChar in interface ImageInputStreamIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputreadInt in interface ImageInputStreamIOExceptionpublic long readUnsignedInt()
throws IOException
readUnsignedInt in interface ImageInputStreamIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputreadLong in interface ImageInputStreamIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in interface ImageInputStreamIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in interface ImageInputStreamIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputreadLine in interface ImageInputStreamIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in interface ImageInputStreamIOExceptionpublic void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamIOExceptionpublic void readFully(byte[] b)
throws IOException
readFully in interface DataInputreadFully in interface ImageInputStreamIOExceptionpublic void readFully(short[] s,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic void readFully(char[] c,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic void readFully(int[] i,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic void readFully(long[] l,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic void readFully(float[] f,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic void readFully(double[] d,
int off,
int len)
throws IOException
readFully in interface ImageInputStreamIOExceptionpublic long getStreamPosition()
getStreamPosition in interface ImageInputStreampublic int getBitOffset()
getBitOffset in interface ImageInputStreampublic void setBitOffset(int bitOffset)
setBitOffset in interface ImageInputStreampublic int readBit()
throws IOException
readBit in interface ImageInputStreamIOExceptionpublic long readBits(int numBits)
throws IOException
readBits in interface ImageInputStreamIOExceptionpublic long length()
throws IOException
length in interface ImageInputStreamIOExceptionpublic int skipBytes(int n)
throws IOException
skipBytes in interface DataInputskipBytes in interface ImageInputStreamIOExceptionpublic long skipBytes(long n)
throws IOException
skipBytes in interface ImageInputStreamIOExceptionpublic void seek(long pos)
throws IOException
seek in interface ImageInputStreamIOExceptionpublic void flushBefore(long pos)
throws IOException
flushBefore in interface ImageInputStreamIOExceptionpublic void flush()
throws IOException
flush in interface ImageInputStreamIOExceptionpublic long getFlushedPosition()
getFlushedPosition in interface ImageInputStreampublic boolean isCached()
isCached in interface ImageInputStreampublic boolean isCachedMemory()
isCachedMemory in interface ImageInputStreampublic boolean isCachedFile()
isCachedFile in interface ImageInputStreampublic void mark()
mark in interface ImageInputStreampublic void reset()
reset in interface ImageInputStreamreset in class ByteArrayInputStreamCopyright © 2010 - 2020 Adobe. All Rights Reserved