RingJavafor Ring

javax.imageio.stream

11 classes of the module java.desktop.

Load them with:

using {
	"javax.imageio.stream"
}

All packages

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

MethodRing callJava overloads
getDatagetData()byte[] getData()
getLengthgetLength()int getLength()
getOffsetgetOffset()int getOffset()
setDatasetData(data)void setData(byte[] data)
setLengthsetLength(length)void setLength(int length)
setOffsetsetOffset(offset)void setOffset(int offset)

The methods and fields of Object are inherited.

ImageInputStream#

interface · javax.imageio.stream.ImageInputStream

Extends: DataInput, Closeable

Methods

MethodRing callJava 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)
closeclose()void close()
flushflush()void flush()
flushBeforeflushBefore(pos)void flushBefore(long pos)
getBitOffsetgetBitOffset()int getBitOffset()
getByteOrdergetByteOrder()ByteOrder getByteOrder()
getFlushedPositiongetFlushedPosition()long getFlushedPosition()
getStreamPositiongetStreamPosition()long getStreamPosition()
isCachedisCached()boolean isCached()
isCachedFileisCachedFile()boolean isCachedFile()
isCachedMemoryisCachedMemory()boolean isCachedMemory()
lengthlength()long length()
markmark()void mark()
readread()int read()
readBitreadBit()int readBit()
readBitsreadBits(numBits)long readBits(int numBits)
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readBytesreadBytes(buf,len)void readBytes(IIOByteBuffer buf, int len)
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(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)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedIntreadUnsignedInt()long readUnsignedInt()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
resetreset()void reset()
seekseek(pos)void seek(long pos)
setBitOffsetsetBitOffset(bitOffset)void setBitOffset(int bitOffset)
setByteOrdersetByteOrder(byteOrder)void setByteOrder(ByteOrder byteOrder)
skipBytesskipBytes(n)long skipBytes(long n)
int skipBytes(int n)

ImageInputStreamImpl#

abstract · extends Object · javax.imageio.stream.ImageInputStreamImpl

Implements: ImageInputStream

Methods

MethodRing callJava 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)
closeclose()void close()
flushflush()void flush()
flushBeforeflushBefore(pos)void flushBefore(long pos)
getBitOffsetgetBitOffset()int getBitOffset()
getByteOrdergetByteOrder()ByteOrder getByteOrder()
getFlushedPositiongetFlushedPosition()long getFlushedPosition()
getStreamPositiongetStreamPosition()long getStreamPosition()
isCachedisCached()boolean isCached()
isCachedFileisCachedFile()boolean isCachedFile()
isCachedMemoryisCachedMemory()boolean isCachedMemory()
lengthlength()long length()
markmark()void mark()
readread()int read()
readBitreadBit()int readBit()
readBitsreadBits(numBits)long readBits(int numBits)
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readBytesreadBytes(buf,len)void readBytes(IIOByteBuffer buf, int len)
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(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)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedIntreadUnsignedInt()long readUnsignedInt()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
resetreset()void reset()
seekseek(pos)void seek(long pos)
setBitOffsetsetBitOffset(bitOffset)void setBitOffset(int bitOffset)
setByteOrdersetByteOrder(byteOrder)void setByteOrder(ByteOrder byteOrder)
skipBytesskipBytes(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

MethodRing callJava 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)
closeclose()void close()
flushflush()void flush()
flushBeforeflushBefore(pos)void flushBefore(long pos)
getBitOffsetgetBitOffset()int getBitOffset()
getByteOrdergetByteOrder()ByteOrder getByteOrder()
getFlushedPositiongetFlushedPosition()long getFlushedPosition()
getStreamPositiongetStreamPosition()long getStreamPosition()
isCachedisCached()boolean isCached()
isCachedFileisCachedFile()boolean isCachedFile()
isCachedMemoryisCachedMemory()boolean isCachedMemory()
lengthlength()long length()
markmark()void mark()
readread()int read()
readBitreadBit()int readBit()
readBitsreadBits(numBits)long readBits(int numBits)
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readBytesreadBytes(buf,len)void readBytes(IIOByteBuffer buf, int len)
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(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)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedIntreadUnsignedInt()long readUnsignedInt()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
resetreset()void reset()
seekseek(pos)void seek(long pos)
setBitOffsetsetBitOffset(bitOffset)void setBitOffset(int bitOffset)
setByteOrdersetByteOrder(byteOrder)void setByteOrder(ByteOrder byteOrder)
skipBytesskipBytes(n)long skipBytes(long n)
int skipBytes(int n)
writewrite(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)
writeBitwriteBit(bit)void writeBit(int bit)
writeBitswriteBits(bits,numBits)void writeBits(long bits, int numBits)
writeBooleanwriteBoolean(v)void writeBoolean(boolean v)
writeBytewriteByte(v)void writeByte(int v)
writeByteswriteBytes(s)void writeBytes(String s)
writeCharwriteChar(v)void writeChar(int v)
writeCharswriteChars(s)
writeChars([c,off,len])
writeChars([ :c = v, :off = v, :len = v ])
void writeChars(String s)
void writeChars(char[] c, int off, int len)
writeDoublewriteDouble(v)void writeDouble(double v)
writeDoubleswriteDoubles(d,off,len)void writeDoubles(double[] d, int off, int len)
writeFloatwriteFloat(v)void writeFloat(float v)
writeFloatswriteFloats(f,off,len)void writeFloats(float[] f, int off, int len)
writeIntwriteInt(v)void writeInt(int v)
writeIntswriteInts(i,off,len)void writeInts(int[] i, int off, int len)
writeLongwriteLong(v)void writeLong(long v)
writeLongswriteLongs(l,off,len)void writeLongs(long[] l, int off, int len)
writeShortwriteShort(v)void writeShort(int v)
writeShortswriteShorts(s,off,len)void writeShorts(short[] s, int off, int len)
writeUTFwriteUTF(s)void writeUTF(String s)

ImageOutputStreamImpl#

abstract · extends ImageInputStreamImpl · javax.imageio.stream.ImageOutputStreamImpl

Implements: ImageOutputStream

Methods

MethodRing callJava overloads
writewrite(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)
writeBitwriteBit(bit)void writeBit(int bit)
writeBitswriteBits(bits,numBits)void writeBits(long bits, int numBits)
writeBooleanwriteBoolean(v)void writeBoolean(boolean v)
writeBytewriteByte(v)void writeByte(int v)
writeByteswriteBytes(s)void writeBytes(String s)
writeCharwriteChar(v)void writeChar(int v)
writeCharswriteChars(s)
writeChars([c,off,len])
writeChars([ :c = v, :off = v, :len = v ])
void writeChars(String s)
void writeChars(char[] c, int off, int len)
writeDoublewriteDouble(v)void writeDouble(double v)
writeDoubleswriteDoubles(d,off,len)void writeDoubles(double[] d, int off, int len)
writeFloatwriteFloat(v)void writeFloat(float v)
writeFloatswriteFloats(f,off,len)void writeFloats(float[] f, int off, int len)
writeIntwriteInt(v)void writeInt(int v)
writeIntswriteInts(i,off,len)void writeInts(int[] i, int off, int len)
writeLongwriteLong(v)void writeLong(long v)
writeLongswriteLongs(l,off,len)void writeLongs(long[] l, int off, int len)
writeShortwriteShort(v)void writeShort(int v)
writeShortswriteShorts(s,off,len)void writeShorts(short[] s, int off, int len)
writeUTFwriteUTF(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.

RingJava - use Java classes and methods from Ring programs.