javax.imageio.stream
11 classes of the module java.desktop.
Load them with:
using {
"javax.imageio.stream"
}
FileCacheImageInputStream#
class · extends ImageInputStreamImpl · javax.imageio.stream.FileCacheImageInputStream
Constructors
new FileCacheImageInputStream(InputStream stream, File cacheDir) |
Ring: new FileCacheImageInputStream(args) uses the constructor with the fewest parameters (at least one); new FileCacheImageInputStream makes the object with the constructor without parameters; the others: (new FileCacheImageInputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageInputStreamImpl are inherited.
FileCacheImageOutputStream#
class · extends ImageOutputStreamImpl · javax.imageio.stream.FileCacheImageOutputStream
Constructors
new FileCacheImageOutputStream(OutputStream stream, File cacheDir) |
Ring: new FileCacheImageOutputStream(args) uses the constructor with the fewest parameters (at least one); new FileCacheImageOutputStream makes the object with the constructor without parameters; the others: (new FileCacheImageOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageOutputStreamImpl are inherited.
FileImageInputStream#
class · extends ImageInputStreamImpl · javax.imageio.stream.FileImageInputStream
Constructors
new FileImageInputStream(File f) |
new FileImageInputStream(RandomAccessFile raf) |
Ring: new FileImageInputStream(args) uses the constructor with the fewest parameters (at least one); new FileImageInputStream makes the object with the constructor without parameters; the others: (new FileImageInputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageInputStreamImpl are inherited.
FileImageOutputStream#
class · extends ImageOutputStreamImpl · javax.imageio.stream.FileImageOutputStream
Constructors
new FileImageOutputStream(File f) |
new FileImageOutputStream(RandomAccessFile raf) |
Ring: new FileImageOutputStream(args) uses the constructor with the fewest parameters (at least one); new FileImageOutputStream makes the object with the constructor without parameters; the others: (new FileImageOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageOutputStreamImpl are inherited.
IIOByteBuffer#
class · extends Object · javax.imageio.stream.IIOByteBuffer
Constructors
new IIOByteBuffer(byte[] data, int offset, int length) |
Ring: new IIOByteBuffer(args) uses the constructor with the fewest parameters (at least one); new IIOByteBuffer makes the object with the constructor without parameters; the others: (new IIOByteBuffer).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getData | getData() | byte[] getData() |
getLength | getLength() | int getLength() |
getOffset | getOffset() | int getOffset() |
setData | setData(data) | void setData(byte[] data) |
setLength | setLength(length) | void setLength(int length) |
setOffset | setOffset(offset) | void setOffset(int offset) |
The methods and fields of Object are inherited.
ImageInputStream#
interface · javax.imageio.stream.ImageInputStream
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@read | @read(b)@read([b,off,len])@read([ :b = v, :off = v, :len = v ]) | int read(byte[] b)int read(byte[] b, int off, int len) |
close | close() | void close() |
flush | flush() | void flush() |
flushBefore | flushBefore(pos) | void flushBefore(long pos) |
getBitOffset | getBitOffset() | int getBitOffset() |
getByteOrder | getByteOrder() | ByteOrder getByteOrder() |
getFlushedPosition | getFlushedPosition() | long getFlushedPosition() |
getStreamPosition | getStreamPosition() | long getStreamPosition() |
isCached | isCached() | boolean isCached() |
isCachedFile | isCachedFile() | boolean isCachedFile() |
isCachedMemory | isCachedMemory() | boolean isCachedMemory() |
length | length() | long length() |
mark | mark() | void mark() |
read | read() | int read() |
readBit | readBit() | int readBit() |
readBits | readBits(numBits) | long readBits(int numBits) |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readBytes | readBytes(buf,len) | void readBytes(IIOByteBuffer buf, int len) |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([i,off,len])readFully([ :i = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(int[] i, int off, int len)void readFully(long[] l, int off, int len)void readFully(float[] f, int off, int len)void readFully(double[] d, int off, int len)void readFully(byte[] b, int off, int len)void readFully(short[] s, int off, int len)void readFully(char[] c, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedInt | readUnsignedInt() | long readUnsignedInt() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
reset | reset() | void reset() |
seek | seek(pos) | void seek(long pos) |
setBitOffset | setBitOffset(bitOffset) | void setBitOffset(int bitOffset) |
setByteOrder | setByteOrder(byteOrder) | void setByteOrder(ByteOrder byteOrder) |
skipBytes | skipBytes(n) | long skipBytes(long n)int skipBytes(int n) |
ImageInputStreamImpl#
abstract · extends Object · javax.imageio.stream.ImageInputStreamImpl
Implements: ImageInputStream
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@read | @read(b)@read([b,off,len])@read([ :b = v, :off = v, :len = v ]) | int read(byte[] b)int read(byte[] b, int off, int len) |
close | close() | void close() |
flush | flush() | void flush() |
flushBefore | flushBefore(pos) | void flushBefore(long pos) |
getBitOffset | getBitOffset() | int getBitOffset() |
getByteOrder | getByteOrder() | ByteOrder getByteOrder() |
getFlushedPosition | getFlushedPosition() | long getFlushedPosition() |
getStreamPosition | getStreamPosition() | long getStreamPosition() |
isCached | isCached() | boolean isCached() |
isCachedFile | isCachedFile() | boolean isCachedFile() |
isCachedMemory | isCachedMemory() | boolean isCachedMemory() |
length | length() | long length() |
mark | mark() | void mark() |
read | read() | int read() |
readBit | readBit() | int readBit() |
readBits | readBits(numBits) | long readBits(int numBits) |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readBytes | readBytes(buf,len) | void readBytes(IIOByteBuffer buf, int len) |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([i,off,len])readFully([ :i = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(int[] i, int off, int len)void readFully(long[] l, int off, int len)void readFully(float[] f, int off, int len)void readFully(double[] d, int off, int len)void readFully(byte[] b, int off, int len)void readFully(short[] s, int off, int len)void readFully(char[] c, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedInt | readUnsignedInt() | long readUnsignedInt() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
reset | reset() | void reset() |
seek | seek(pos) | void seek(long pos) |
setBitOffset | setBitOffset(bitOffset) | void setBitOffset(int bitOffset) |
setByteOrder | setByteOrder(byteOrder) | void setByteOrder(ByteOrder byteOrder) |
skipBytes | skipBytes(n) | long skipBytes(long n)int skipBytes(int n) |
The methods and fields of Object are inherited.
ImageOutputStream#
interface · javax.imageio.stream.ImageOutputStream
Extends: ImageInputStream, DataOutput
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@read | @read(b)@read([b,off,len])@read([ :b = v, :off = v, :len = v ]) | int read(byte[] b)int read(byte[] b, int off, int len) |
close | close() | void close() |
flush | flush() | void flush() |
flushBefore | flushBefore(pos) | void flushBefore(long pos) |
getBitOffset | getBitOffset() | int getBitOffset() |
getByteOrder | getByteOrder() | ByteOrder getByteOrder() |
getFlushedPosition | getFlushedPosition() | long getFlushedPosition() |
getStreamPosition | getStreamPosition() | long getStreamPosition() |
isCached | isCached() | boolean isCached() |
isCachedFile | isCachedFile() | boolean isCachedFile() |
isCachedMemory | isCachedMemory() | boolean isCachedMemory() |
length | length() | long length() |
mark | mark() | void mark() |
read | read() | int read() |
readBit | readBit() | int readBit() |
readBits | readBits(numBits) | long readBits(int numBits) |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readBytes | readBytes(buf,len) | void readBytes(IIOByteBuffer buf, int len) |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([i,off,len])readFully([ :i = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(int[] i, int off, int len)void readFully(long[] l, int off, int len)void readFully(float[] f, int off, int len)void readFully(double[] d, int off, int len)void readFully(byte[] b, int off, int len)void readFully(short[] s, int off, int len)void readFully(char[] c, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedInt | readUnsignedInt() | long readUnsignedInt() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
reset | reset() | void reset() |
seek | seek(pos) | void seek(long pos) |
setBitOffset | setBitOffset(bitOffset) | void setBitOffset(int bitOffset) |
setByteOrder | setByteOrder(byteOrder) | void setByteOrder(ByteOrder byteOrder) |
skipBytes | skipBytes(n) | long skipBytes(long n)int skipBytes(int n) |
write | write(b)write([b,off,len])write([ :b = v, :off = v, :len = v ]) | void write(byte[] b)void write(int b)void write(byte[] b, int off, int len) |
writeBit | writeBit(bit) | void writeBit(int bit) |
writeBits | writeBits(bits,numBits) | void writeBits(long bits, int numBits) |
writeBoolean | writeBoolean(v) | void writeBoolean(boolean v) |
writeByte | writeByte(v) | void writeByte(int v) |
writeBytes | writeBytes(s) | void writeBytes(String s) |
writeChar | writeChar(v) | void writeChar(int v) |
writeChars | writeChars(s)writeChars([c,off,len])writeChars([ :c = v, :off = v, :len = v ]) | void writeChars(String s)void writeChars(char[] c, int off, int len) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeDoubles | writeDoubles(d,off,len) | void writeDoubles(double[] d, int off, int len) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeFloats | writeFloats(f,off,len) | void writeFloats(float[] f, int off, int len) |
writeInt | writeInt(v) | void writeInt(int v) |
writeInts | writeInts(i,off,len) | void writeInts(int[] i, int off, int len) |
writeLong | writeLong(v) | void writeLong(long v) |
writeLongs | writeLongs(l,off,len) | void writeLongs(long[] l, int off, int len) |
writeShort | writeShort(v) | void writeShort(int v) |
writeShorts | writeShorts(s,off,len) | void writeShorts(short[] s, int off, int len) |
writeUTF | writeUTF(s) | void writeUTF(String s) |
ImageOutputStreamImpl#
abstract · extends ImageInputStreamImpl · javax.imageio.stream.ImageOutputStreamImpl
Implements: ImageOutputStream
Methods
| Method | Ring call | Java overloads |
|---|---|---|
write | write(b)write([b,off,len])write([ :b = v, :off = v, :len = v ]) | void write(byte[] b)void write(int b)void write(byte[] b, int off, int len) |
writeBit | writeBit(bit) | void writeBit(int bit) |
writeBits | writeBits(bits,numBits) | void writeBits(long bits, int numBits) |
writeBoolean | writeBoolean(v) | void writeBoolean(boolean v) |
writeByte | writeByte(v) | void writeByte(int v) |
writeBytes | writeBytes(s) | void writeBytes(String s) |
writeChar | writeChar(v) | void writeChar(int v) |
writeChars | writeChars(s)writeChars([c,off,len])writeChars([ :c = v, :off = v, :len = v ]) | void writeChars(String s)void writeChars(char[] c, int off, int len) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeDoubles | writeDoubles(d,off,len) | void writeDoubles(double[] d, int off, int len) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeFloats | writeFloats(f,off,len) | void writeFloats(float[] f, int off, int len) |
writeInt | writeInt(v) | void writeInt(int v) |
writeInts | writeInts(i,off,len) | void writeInts(int[] i, int off, int len) |
writeLong | writeLong(v) | void writeLong(long v) |
writeLongs | writeLongs(l,off,len) | void writeLongs(long[] l, int off, int len) |
writeShort | writeShort(v) | void writeShort(int v) |
writeShorts | writeShorts(s,off,len) | void writeShorts(short[] s, int off, int len) |
writeUTF | writeUTF(s) | void writeUTF(String s) |
The methods and fields of ImageInputStreamImpl are inherited.
MemoryCacheImageInputStream#
class · extends ImageInputStreamImpl · javax.imageio.stream.MemoryCacheImageInputStream
Constructors
new MemoryCacheImageInputStream(InputStream stream) |
Ring: new MemoryCacheImageInputStream(args) uses the constructor with the fewest parameters (at least one); new MemoryCacheImageInputStream makes the object with the constructor without parameters; the others: (new MemoryCacheImageInputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageInputStreamImpl are inherited.
MemoryCacheImageOutputStream#
class · extends ImageOutputStreamImpl · javax.imageio.stream.MemoryCacheImageOutputStream
Constructors
new MemoryCacheImageOutputStream(OutputStream stream) |
Ring: new MemoryCacheImageOutputStream(args) uses the constructor with the fewest parameters (at least one); new MemoryCacheImageOutputStream makes the object with the constructor without parameters; the others: (new MemoryCacheImageOutputStream).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ImageOutputStreamImpl are inherited.