RingJavafor Ring

java.io

85 classes of the module java.base.

Load them with:

using {
	"java.io"
}

All packages

BufferedInputStream#

class · extends FilterInputStream · java.io.BufferedInputStream

Constructors

new BufferedInputStream(InputStream in)
new BufferedInputStream(InputStream in, int size)

Ring: new BufferedInputStream(args) uses the constructor with the fewest parameters (at least one); new BufferedInputStream makes the object with the constructor without parameters; the others: (new BufferedInputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of FilterInputStream are inherited.

BufferedOutputStream#

class · extends FilterOutputStream · java.io.BufferedOutputStream

Constructors

new BufferedOutputStream(OutputStream out)
new BufferedOutputStream(OutputStream out, int size)

Ring: new BufferedOutputStream(args) uses the constructor with the fewest parameters (at least one); new BufferedOutputStream makes the object with the constructor without parameters; the others: (new BufferedOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of FilterOutputStream are inherited.

BufferedReader#

class · extends Reader · java.io.BufferedReader

Constructors

new BufferedReader(Reader in)
new BufferedReader(Reader in, int sz)

Ring: new BufferedReader(args) uses the constructor with the fewest parameters (at least one); new BufferedReader makes the object with the constructor without parameters; the others: (new BufferedReader).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
lineslines()Stream lines()
readLinereadLine()String readLine()

The methods and fields of Reader are inherited.

BufferedWriter#

class · extends Writer · java.io.BufferedWriter

Constructors

new BufferedWriter(Writer out)
new BufferedWriter(Writer out, int sz)

Ring: new BufferedWriter(args) uses the constructor with the fewest parameters (at least one); new BufferedWriter makes the object with the constructor without parameters; the others: (new BufferedWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
newLinenewLine()void newLine()

The methods and fields of Writer are inherited.

ByteArrayInputStream#

class · extends InputStream · java.io.ByteArrayInputStream

Constructors

new ByteArrayInputStream(byte[] buf)
new ByteArrayInputStream(byte[] buf, int offset, int length)

Ring: new ByteArrayInputStream(args) uses the constructor with the fewest parameters (at least one); new ByteArrayInputStream makes the object with the constructor without parameters; the others: (new ByteArrayInputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of InputStream are inherited.

ByteArrayOutputStream#

class · extends OutputStream · java.io.ByteArrayOutputStream

Constructors

new ByteArrayOutputStream()
new ByteArrayOutputStream(int size)

Ring: new ByteArrayOutputStream(args) uses the constructor with the fewest parameters (at least one); new ByteArrayOutputStream makes the object with the constructor without parameters; the others: (new ByteArrayOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@toString@toString(charsetName)String toString(String charsetName)
String toString(Charset charset)
String toString(int hibyte)
resetreset()void reset()
sizesize()int size()
toByteArraytoByteArray()byte[] toByteArray()
writeByteswriteBytes(b)void writeBytes(byte[] b)
writeTowriteTo(out)void writeTo(OutputStream out)

The methods and fields of OutputStream are inherited.

CharArrayReader#

class · extends Reader · java.io.CharArrayReader

Constructors

new CharArrayReader(char[] buf)
new CharArrayReader(char[] buf, int offset, int length)

Ring: new CharArrayReader(args) uses the constructor with the fewest parameters (at least one); new CharArrayReader makes the object with the constructor without parameters; the others: (new CharArrayReader).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Reader are inherited.

CharArrayWriter#

class · extends Writer · java.io.CharArrayWriter

Constructors

new CharArrayWriter()
new CharArrayWriter(int initialSize)

Ring: new CharArrayWriter(args) uses the constructor with the fewest parameters (at least one); new CharArrayWriter makes the object with the constructor without parameters; the others: (new CharArrayWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
resetreset()void reset()
sizesize()int size()
toCharArraytoCharArray()char[] toCharArray()
writeTowriteTo(out)void writeTo(Writer out)

The methods and fields of Writer are inherited.

CharConversionException#

class · extends IOException · java.io.CharConversionException

Constructors

new CharConversionException()
new CharConversionException(String s)

Ring: new CharConversionException(args) uses the constructor with the fewest parameters (at least one); new CharConversionException makes the object with the constructor without parameters; the others: (new CharConversionException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

Closeable#

interface · java.io.Closeable

Extends: AutoCloseable

Methods

MethodRing callJava overloads
closeclose()void close()

Console#

class · extends Object · java.io.Console

Implements: Flushable

Methods

MethodRing callJava overloads
@readLine@readLine([format,args])
@readLine([ :format = v, :args = v ])
@readLine([locale,format,args])
@readLine([ :locale = v, :format = v, :args = v ])
String readLine(String format, Object[] args)
String readLine(Locale locale, String format, Object[] args)
@readPassword@readPassword([format,args])
@readPassword([ :format = v, :args = v ])
@readPassword([locale,format,args])
@readPassword([ :locale = v, :format = v, :args = v ])
char[] readPassword(String format, Object[] args)
char[] readPassword(Locale locale, String format, Object[] args)
charsetcharset()Charset charset()
flushflush()void flush()
formatformat([format,args])
format([ :format = v, :args = v ])
format([locale,format,args])
format([ :locale = v, :format = v, :args = v ])
Console format(String format, Object[] args)
Console format(Locale locale, String format, Object[] args)
isTerminalisTerminal()boolean isTerminal()
printfprintf([format,args])
printf([ :format = v, :args = v ])
printf([locale,format,args])
printf([ :locale = v, :format = v, :args = v ])
Console printf(String format, Object[] args)
Console printf(Locale locale, String format, Object[] args)
readerreader()Reader reader()
readLinereadLine()String readLine()
readPasswordreadPassword()char[] readPassword()
writerwriter()PrintWriter writer()

The methods and fields of Object are inherited.

DataInput#

interface · java.io.DataInput

Methods

MethodRing callJava overloads
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(b)
readFully([b,off,len])
readFully([ :b = v, :off = v, :len = v ])
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
skipBytesskipBytes(n)int skipBytes(int n)

DataInputStream#

class · extends FilterInputStream · java.io.DataInputStream

Implements: DataInput

Constructors

new DataInputStream(InputStream in)

Ring: new DataInputStream(args) uses the constructor with the fewest parameters (at least one); new DataInputStream makes the object with the constructor without parameters; the others: (new DataInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@readUTF@readUTF(in)static String readUTF(DataInput in)
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(b)
readFully([b,off,len])
readFully([ :b = v, :off = v, :len = v ])
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
skipBytesskipBytes(n)int skipBytes(int n)

The methods and fields of FilterInputStream are inherited.

DataOutput#

interface · java.io.DataOutput

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)
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)void writeChars(String s)
writeDoublewriteDouble(v)void writeDouble(double v)
writeFloatwriteFloat(v)void writeFloat(float v)
writeIntwriteInt(v)void writeInt(int v)
writeLongwriteLong(v)void writeLong(long v)
writeShortwriteShort(v)void writeShort(int v)
writeUTFwriteUTF(s)void writeUTF(String s)

DataOutputStream#

class · extends FilterOutputStream · java.io.DataOutputStream

Implements: DataOutput

Constructors

new DataOutputStream(OutputStream out)

Ring: new DataOutputStream(args) uses the constructor with the fewest parameters (at least one); new DataOutputStream makes the object with the constructor without parameters; the others: (new DataOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
sizesize()int size()
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)void writeChars(String s)
writeDoublewriteDouble(v)void writeDouble(double v)
writeFloatwriteFloat(v)void writeFloat(float v)
writeIntwriteInt(v)void writeInt(int v)
writeLongwriteLong(v)void writeLong(long v)
writeShortwriteShort(v)void writeShort(int v)
writeUTFwriteUTF(str)void writeUTF(String str)

The methods and fields of FilterOutputStream are inherited.

EOFException#

class · extends IOException · java.io.EOFException

Constructors

new EOFException()
new EOFException(String s)

Ring: new EOFException(args) uses the constructor with the fewest parameters (at least one); new EOFException makes the object with the constructor without parameters; the others: (new EOFException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

Externalizable#

interface · java.io.Externalizable

Extends: Serializable

Methods

MethodRing callJava overloads
readExternalreadExternal(in)void readExternal(ObjectInput in)
writeExternalwriteExternal(out)void writeExternal(ObjectOutput out)

File#

class · extends Object · java.io.File

Implements: Serializable, Comparable

Constructors

new File(String pathname)
new File(URI uri)
new File(String parent, String child)
new File(File parent, String child)

Ring: new File(args) uses the constructor with the fewest parameters (at least one); new File makes the object with the constructor without parameters; the others: (new File).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
separatorCharcharconstant · statico.separatorChar
separatorStringconstant · statico.separator
pathSeparatorCharcharconstant · statico.pathSeparatorChar
pathSeparatorStringconstant · statico.pathSeparator

Methods

MethodRing callJava overloads
@list@list(filter)String[] list(FilenameFilter filter)
@listFiles@listFiles(filter)File[] listFiles(FileFilter filter)
File[] listFiles(FilenameFilter filter)
canExecutecanExecute()boolean canExecute()
canReadcanRead()boolean canRead()
canWritecanWrite()boolean canWrite()
compareTocompareTo(pathname)int compareTo(File pathname)
createNewFilecreateNewFile()boolean createNewFile()
createTempFilecreateTempFile([prefix,suffix])
createTempFile([ :prefix = v, :suffix = v ])
createTempFile([prefix,suffix,directory])
createTempFile([ :prefix = v, :suffix = v, :directory = v ])
static File createTempFile(String prefix, String suffix)
static File createTempFile(String prefix, String suffix, File directory)
deletedelete()boolean delete()
deleteOnExitdeleteOnExit()void deleteOnExit()
existsexists()boolean exists()
getAbsoluteFilegetAbsoluteFile()File getAbsoluteFile()
getAbsolutePathgetAbsolutePath()String getAbsolutePath()
getCanonicalFilegetCanonicalFile()File getCanonicalFile()
getCanonicalPathgetCanonicalPath()String getCanonicalPath()
getFreeSpacegetFreeSpace()long getFreeSpace()
getNamegetName()String getName()
getParentgetParent()String getParent()
getParentFilegetParentFile()File getParentFile()
getPathgetPath()String getPath()
getTotalSpacegetTotalSpace()long getTotalSpace()
getUsableSpacegetUsableSpace()long getUsableSpace()
isAbsoluteisAbsolute()boolean isAbsolute()
isDirectoryisDirectory()boolean isDirectory()
isFileisFile()boolean isFile()
isHiddenisHidden()boolean isHidden()
lastModifiedlastModified()long lastModified()
lengthlength()long length()
listlist()String[] list()
listFileslistFiles()File[] listFiles()
listRootslistRoots()static File[] listRoots()
mkdirmkdir()boolean mkdir()
mkdirsmkdirs()boolean mkdirs()
renameTorenameTo(dest)boolean renameTo(File dest)
setExecutablesetExecutable(executable)
setExecutable([executable,ownerOnly])
setExecutable([ :executable = v, :ownerOnly = v ])
boolean setExecutable(boolean executable)
boolean setExecutable(boolean executable, boolean ownerOnly)
setLastModifiedsetLastModified(time)boolean setLastModified(long time)
setReadablesetReadable(readable)
setReadable([readable,ownerOnly])
setReadable([ :readable = v, :ownerOnly = v ])
boolean setReadable(boolean readable)
boolean setReadable(boolean readable, boolean ownerOnly)
setReadOnlysetReadOnly()boolean setReadOnly()
setWritablesetWritable(writable)
setWritable([writable,ownerOnly])
setWritable([ :writable = v, :ownerOnly = v ])
boolean setWritable(boolean writable)
boolean setWritable(boolean writable, boolean ownerOnly)
toPathtoPath()Path toPath()
toURItoURI()URI toURI()
toURLtoURL()URL toURL()

The methods and fields of Object are inherited.

FileDescriptor#

class final · extends Object · java.io.FileDescriptor

Constructors

new FileDescriptor()

Ring: new FileDescriptor(args) uses the constructor with the fewest parameters (at least one); new FileDescriptor makes the object with the constructor without parameters; the others: (new FileDescriptor).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
inFileDescriptorconstant · statico.in
outFileDescriptorconstant · statico.out
errFileDescriptorconstant · statico.err

Methods

MethodRing callJava overloads
syncsync()void sync()
validvalid()boolean valid()

The methods and fields of Object are inherited.

FileFilter#

interface · java.io.FileFilter

Methods

MethodRing callJava overloads
acceptaccept(pathname)boolean accept(File pathname)

FileInputStream#

class · extends InputStream · java.io.FileInputStream

Constructors

new FileInputStream(FileDescriptor fdObj)
new FileInputStream(File file)
new FileInputStream(String name)

Ring: new FileInputStream(args) uses the constructor with the fewest parameters (at least one); new FileInputStream makes the object with the constructor without parameters; the others: (new FileInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getChannelgetChannel()FileChannel getChannel()
getFDgetFD()FileDescriptor getFD()

The methods and fields of InputStream are inherited.

FilenameFilter#

interface · java.io.FilenameFilter

Methods

MethodRing callJava overloads
acceptaccept(dir,name)boolean accept(File dir, String name)

FileNotFoundException#

class · extends IOException · java.io.FileNotFoundException

Constructors

new FileNotFoundException()
new FileNotFoundException(String s)

Ring: new FileNotFoundException(args) uses the constructor with the fewest parameters (at least one); new FileNotFoundException makes the object with the constructor without parameters; the others: (new FileNotFoundException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

FileOutputStream#

class · extends OutputStream · java.io.FileOutputStream

Constructors

new FileOutputStream(FileDescriptor fdObj)
new FileOutputStream(File file)
new FileOutputStream(String name)
new FileOutputStream(File file, boolean append)
new FileOutputStream(String name, boolean append)

Ring: new FileOutputStream(args) uses the constructor with the fewest parameters (at least one); new FileOutputStream makes the object with the constructor without parameters; the others: (new FileOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getChannelgetChannel()FileChannel getChannel()
getFDgetFD()FileDescriptor getFD()

The methods and fields of OutputStream are inherited.

FilePermission#

class final · extends Permission · java.io.FilePermission

Implements: Serializable

Constructors

new FilePermission(String path, String actions)

Ring: new FilePermission(args) uses the constructor with the fewest parameters (at least one); new FilePermission makes the object with the constructor without parameters; the others: (new FilePermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Permission are inherited.

FileReader#

class · extends InputStreamReader · java.io.FileReader

Constructors

new FileReader(FileDescriptor fd)
new FileReader(File file)
new FileReader(String fileName)
new FileReader(File file, Charset charset)
new FileReader(String fileName, Charset charset)

Ring: new FileReader(args) uses the constructor with the fewest parameters (at least one); new FileReader makes the object with the constructor without parameters; the others: (new FileReader).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of InputStreamReader are inherited.

FileWriter#

class · extends OutputStreamWriter · java.io.FileWriter

Constructors

new FileWriter(FileDescriptor fd)
new FileWriter(String fileName)
new FileWriter(File file)
new FileWriter(String fileName, Charset charset)
new FileWriter(File file, Charset charset)
new FileWriter(String fileName, boolean append)
new FileWriter(File file, boolean append)
new FileWriter(String fileName, Charset charset, boolean append)
new FileWriter(File file, Charset charset, boolean append)

Ring: new FileWriter(args) uses the constructor with the fewest parameters (at least one); new FileWriter makes the object with the constructor without parameters; the others: (new FileWriter).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of OutputStreamWriter are inherited.

FilterInputStream#

class · extends InputStream · java.io.FilterInputStream

The methods and fields of InputStream are inherited.

FilterOutputStream#

class · extends OutputStream · java.io.FilterOutputStream

Constructors

new FilterOutputStream(OutputStream out)

Ring: new FilterOutputStream(args) uses the constructor with the fewest parameters (at least one); new FilterOutputStream makes the object with the constructor without parameters; the others: (new FilterOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of OutputStream are inherited.

FilterReader#

abstract · extends Reader · java.io.FilterReader

The methods and fields of Reader are inherited.

FilterWriter#

abstract · extends Writer · java.io.FilterWriter

The methods and fields of Writer are inherited.

Flushable#

interface · java.io.Flushable

Methods

MethodRing callJava overloads
flushflush()void flush()

InputStream#

abstract · extends Object · java.io.InputStream

Implements: 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)
availableavailable()int available()
closeclose()void close()
markmark(readlimit)void mark(int readlimit)
markSupportedmarkSupported()boolean markSupported()
nullInputStreamnullInputStream()static InputStream nullInputStream()
readread()int read()
readAllBytesreadAllBytes()byte[] readAllBytes()
readNBytesreadNBytes(len)
readNBytes([b,off,len])
readNBytes([ :b = v, :off = v, :len = v ])
byte[] readNBytes(int len)
int readNBytes(byte[] b, int off, int len)
resetreset()void reset()
skipskip(n)long skip(long n)
skipNBytesskipNBytes(n)void skipNBytes(long n)
transferTotransferTo(out)long transferTo(OutputStream out)

The methods and fields of Object are inherited.

InputStreamReader#

class · extends Reader · java.io.InputStreamReader

Constructors

new InputStreamReader(InputStream in)
new InputStreamReader(InputStream in, CharsetDecoder dec)
new InputStreamReader(InputStream in, Charset cs)
new InputStreamReader(InputStream in, String charsetName)

Ring: new InputStreamReader(args) uses the constructor with the fewest parameters (at least one); new InputStreamReader makes the object with the constructor without parameters; the others: (new InputStreamReader).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getEncodinggetEncoding()String getEncoding()

The methods and fields of Reader are inherited.

InterruptedIOException#

class · extends IOException · java.io.InterruptedIOException

Constructors

new InterruptedIOException()
new InterruptedIOException(String s)

Ring: new InterruptedIOException(args) uses the constructor with the fewest parameters (at least one); new InterruptedIOException makes the object with the constructor without parameters; the others: (new InterruptedIOException).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
bytesTransferredintread, writeo.bytesTransferred o.bytesTransferred = v

The methods and fields of IOException are inherited.

InvalidClassException#

class · extends ObjectStreamException · java.io.InvalidClassException

Constructors

new InvalidClassException(String reason)
new InvalidClassException(String reason, Throwable cause)
new InvalidClassException(String cname, String reason)
new InvalidClassException(String cname, String reason, Throwable cause)

Ring: new InvalidClassException(args) uses the constructor with the fewest parameters (at least one); new InvalidClassException makes the object with the constructor without parameters; the others: (new InvalidClassException).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
classnameStringread, writeo.@classname o.@classname = v

The methods and fields of ObjectStreamException are inherited.

InvalidObjectException#

class · extends ObjectStreamException · java.io.InvalidObjectException

Constructors

new InvalidObjectException(String reason)
new InvalidObjectException(String reason, Throwable cause)

Ring: new InvalidObjectException(args) uses the constructor with the fewest parameters (at least one); new InvalidObjectException makes the object with the constructor without parameters; the others: (new InvalidObjectException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of ObjectStreamException are inherited.

IOError#

class · extends Error · java.io.IOError

Constructors

new IOError(Throwable cause)

Ring: new IOError(args) uses the constructor with the fewest parameters (at least one); new IOError makes the object with the constructor without parameters; the others: (new IOError).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Error are inherited.

IOException#

class · extends Exception · java.io.IOException

Constructors

new IOException()
new IOException(Throwable cause)
new IOException(String message)
new IOException(String message, Throwable cause)

Ring: new IOException(args) uses the constructor with the fewest parameters (at least one); new IOException makes the object with the constructor without parameters; the others: (new IOException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Exception are inherited.

LineNumberInputStream#

class · extends FilterInputStream · java.io.LineNumberInputStream

Constructors

new LineNumberInputStream(InputStream in)

Ring: new LineNumberInputStream(args) uses the constructor with the fewest parameters (at least one); new LineNumberInputStream makes the object with the constructor without parameters; the others: (new LineNumberInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getLineNumbergetLineNumber()int getLineNumber()
setLineNumbersetLineNumber(lineNumber)void setLineNumber(int lineNumber)

The methods and fields of FilterInputStream are inherited.

LineNumberReader#

class · extends BufferedReader · java.io.LineNumberReader

Constructors

new LineNumberReader(Reader in)
new LineNumberReader(Reader in, int sz)

Ring: new LineNumberReader(args) uses the constructor with the fewest parameters (at least one); new LineNumberReader makes the object with the constructor without parameters; the others: (new LineNumberReader).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getLineNumbergetLineNumber()int getLineNumber()
setLineNumbersetLineNumber(lineNumber)void setLineNumber(int lineNumber)

The methods and fields of BufferedReader are inherited.

NotActiveException#

class · extends ObjectStreamException · java.io.NotActiveException

Constructors

new NotActiveException()
new NotActiveException(String reason)

Ring: new NotActiveException(args) uses the constructor with the fewest parameters (at least one); new NotActiveException makes the object with the constructor without parameters; the others: (new NotActiveException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of ObjectStreamException are inherited.

NotSerializableException#

class · extends ObjectStreamException · java.io.NotSerializableException

Constructors

new NotSerializableException()
new NotSerializableException(String classname)

Ring: new NotSerializableException(args) uses the constructor with the fewest parameters (at least one); new NotSerializableException makes the object with the constructor without parameters; the others: (new NotSerializableException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of ObjectStreamException are inherited.

ObjectInput#

interface · java.io.ObjectInput

Extends: DataInput, AutoCloseable

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)
availableavailable()int available()
closeclose()void close()
readread()int read()
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(b)
readFully([b,off,len])
readFully([ :b = v, :off = v, :len = v ])
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readObjectreadObject()Object readObject()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
skipskip(n)long skip(long n)
skipBytesskipBytes(n)int skipBytes(int n)

ObjectInputFilter#

interface · java.io.ObjectInputFilter

Methods

MethodRing callJava overloads
allowFilterallowFilter(predicate,otherStatus)static ObjectInputFilter allowFilter(Predicate predicate, Status otherStatus)
checkInputcheckInput(filterInfo)Status checkInput(FilterInfo filterInfo)
mergemerge(filter,anotherFilter)static ObjectInputFilter merge(ObjectInputFilter filter, ObjectInputFilter anotherFilter)
rejectFilterrejectFilter(predicate,otherStatus)static ObjectInputFilter rejectFilter(Predicate predicate, Status otherStatus)
rejectUndecidedClassrejectUndecidedClass(filter)static ObjectInputFilter rejectUndecidedClass(ObjectInputFilter filter)

ObjectInputFilterConfig#

class final · extends Object · java.io.ObjectInputFilter$Config

Methods

MethodRing callJava overloads
createFiltercreateFilter(pattern)static ObjectInputFilter createFilter(String pattern)
getSerialFiltergetSerialFilter()static ObjectInputFilter getSerialFilter()
getSerialFilterFactorygetSerialFilterFactory()static BinaryOperator getSerialFilterFactory()
setSerialFiltersetSerialFilter(filter)static void setSerialFilter(ObjectInputFilter filter)
setSerialFilterFactorysetSerialFilterFactory(filterFactory)static void setSerialFilterFactory(BinaryOperator filterFactory)

The methods and fields of Object are inherited.

ObjectInputFilterFilterInfo#

interface · java.io.ObjectInputFilter$FilterInfo

Methods

MethodRing callJava overloads
arrayLengtharrayLength()long arrayLength()
depthdepth()long depth()
referencesreferences()long references()
serialClassserialClass()Class serialClass()
streamBytesstreamBytes()long streamBytes()

ObjectInputFilterStatus#

enum · extends Enum · java.io.ObjectInputFilter$Status

Fields

NameTypeAccessIn Ring
UNDECIDEDStatusconstant · statico.UNDECIDED
ALLOWEDStatusconstant · statico.ALLOWED
REJECTEDStatusconstant · statico.REJECTED

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Status valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Status[] values()

The methods and fields of Enum are inherited.

ObjectInputStream#

class · extends InputStream · java.io.ObjectInputStream

Implements: ObjectInput, ObjectStreamConstants

Constructors

new ObjectInputStream(InputStream in)

Ring: new ObjectInputStream(args) uses the constructor with the fewest parameters (at least one); new ObjectInputStream makes the object with the constructor without parameters; the others: (new ObjectInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
STREAM_MAGICshortconstant · statico.STREAM_MAGIC
STREAM_VERSIONshortconstant · statico.STREAM_VERSION
TC_BASEbyteconstant · statico.TC_BASE
TC_NULLbyteconstant · statico.TC_NULL
TC_REFERENCEbyteconstant · statico.TC_REFERENCE
TC_CLASSDESCbyteconstant · statico.TC_CLASSDESC
TC_OBJECTbyteconstant · statico.TC_OBJECT
TC_STRINGbyteconstant · statico.TC_STRING
TC_ARRAYbyteconstant · statico.TC_ARRAY
TC_CLASSbyteconstant · statico.TC_CLASS
TC_BLOCKDATAbyteconstant · statico.TC_BLOCKDATA
TC_ENDBLOCKDATAbyteconstant · statico.TC_ENDBLOCKDATA
TC_RESETbyteconstant · statico.TC_RESET
TC_BLOCKDATALONGbyteconstant · statico.TC_BLOCKDATALONG
TC_EXCEPTIONbyteconstant · statico.TC_EXCEPTION
TC_LONGSTRINGbyteconstant · statico.TC_LONGSTRING
TC_PROXYCLASSDESCbyteconstant · statico.TC_PROXYCLASSDESC
TC_ENUMbyteconstant · statico.TC_ENUM
TC_MAXbyteconstant · statico.TC_MAX
baseWireHandleintconstant · statico.baseWireHandle
SC_WRITE_METHODbyteconstant · statico.SC_WRITE_METHOD
SC_BLOCK_DATAbyteconstant · statico.SC_BLOCK_DATA
SC_SERIALIZABLEbyteconstant · statico.SC_SERIALIZABLE
SC_EXTERNALIZABLEbyteconstant · statico.SC_EXTERNALIZABLE
SC_ENUMbyteconstant · statico.SC_ENUM
SUBSTITUTION_PERMISSIONSerializablePermissionconstant · statico.SUBSTITUTION_PERMISSION
SUBCLASS_IMPLEMENTATION_PERMISSIONSerializablePermissionconstant · statico.SUBCLASS_IMPLEMENTATION_PERMISSION
SERIAL_FILTER_PERMISSIONSerializablePermissionconstant · statico.SERIAL_FILTER_PERMISSION
PROTOCOL_VERSION_1intconstant · statico.PROTOCOL_VERSION_1
PROTOCOL_VERSION_2intconstant · statico.PROTOCOL_VERSION_2

Methods

MethodRing callJava overloads
defaultReadObjectdefaultReadObject()void defaultReadObject()
getObjectInputFiltergetObjectInputFilter()ObjectInputFilter getObjectInputFilter()
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFieldsreadFields()GetField readFields()
readFloatreadFloat()float readFloat()
readFullyreadFully(buf)
readFully([buf,off,len])
readFully([ :buf = v, :off = v, :len = v ])
void readFully(byte[] buf)
void readFully(byte[] buf, int off, int len)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readObjectreadObject()Object readObject()
readShortreadShort()short readShort()
readUnsharedreadUnshared()Object readUnshared()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
registerValidationregisterValidation(obj,prio)void registerValidation(ObjectInputValidation obj, int prio)
setObjectInputFiltersetObjectInputFilter(filter)void setObjectInputFilter(ObjectInputFilter filter)
skipBytesskipBytes(len)int skipBytes(int len)

The methods and fields of InputStream are inherited.

ObjectInputStreamGetField#

abstract · extends Object · java.io.ObjectInputStream$GetField

Methods

MethodRing callJava overloads
@get@get(name,val)long get(String name, long val)
int get(String name, int val)
short get(String name, short val)
float get(String name, float val)
double get(String name, double val)
Object get(String name, Object val)
boolean get(String name, boolean val)
byte get(String name, byte val)
char get(String name, char val)
defaulteddefaulted(name)boolean defaulted(String name)
getObjectStreamClassgetObjectStreamClass()ObjectStreamClass getObjectStreamClass()

The methods and fields of Object are inherited.

ObjectInputValidation#

interface · java.io.ObjectInputValidation

Methods

MethodRing callJava overloads
validateObjectvalidateObject()void validateObject()

ObjectOutput#

interface · java.io.ObjectOutput

Extends: DataOutput, AutoCloseable

Methods

MethodRing callJava overloads
closeclose()void close()
flushflush()void flush()
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)
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)void writeChars(String s)
writeDoublewriteDouble(v)void writeDouble(double v)
writeFloatwriteFloat(v)void writeFloat(float v)
writeIntwriteInt(v)void writeInt(int v)
writeLongwriteLong(v)void writeLong(long v)
writeObjectwriteObject(obj)void writeObject(Object obj)
writeShortwriteShort(v)void writeShort(int v)
writeUTFwriteUTF(s)void writeUTF(String s)

ObjectOutputStream#

class · extends OutputStream · java.io.ObjectOutputStream

Implements: ObjectOutput, ObjectStreamConstants

Constructors

new ObjectOutputStream(OutputStream out)

Ring: new ObjectOutputStream(args) uses the constructor with the fewest parameters (at least one); new ObjectOutputStream makes the object with the constructor without parameters; the others: (new ObjectOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
STREAM_MAGICshortconstant · statico.STREAM_MAGIC
STREAM_VERSIONshortconstant · statico.STREAM_VERSION
TC_BASEbyteconstant · statico.TC_BASE
TC_NULLbyteconstant · statico.TC_NULL
TC_REFERENCEbyteconstant · statico.TC_REFERENCE
TC_CLASSDESCbyteconstant · statico.TC_CLASSDESC
TC_OBJECTbyteconstant · statico.TC_OBJECT
TC_STRINGbyteconstant · statico.TC_STRING
TC_ARRAYbyteconstant · statico.TC_ARRAY
TC_CLASSbyteconstant · statico.TC_CLASS
TC_BLOCKDATAbyteconstant · statico.TC_BLOCKDATA
TC_ENDBLOCKDATAbyteconstant · statico.TC_ENDBLOCKDATA
TC_RESETbyteconstant · statico.TC_RESET
TC_BLOCKDATALONGbyteconstant · statico.TC_BLOCKDATALONG
TC_EXCEPTIONbyteconstant · statico.TC_EXCEPTION
TC_LONGSTRINGbyteconstant · statico.TC_LONGSTRING
TC_PROXYCLASSDESCbyteconstant · statico.TC_PROXYCLASSDESC
TC_ENUMbyteconstant · statico.TC_ENUM
TC_MAXbyteconstant · statico.TC_MAX
baseWireHandleintconstant · statico.baseWireHandle
SC_WRITE_METHODbyteconstant · statico.SC_WRITE_METHOD
SC_BLOCK_DATAbyteconstant · statico.SC_BLOCK_DATA
SC_SERIALIZABLEbyteconstant · statico.SC_SERIALIZABLE
SC_EXTERNALIZABLEbyteconstant · statico.SC_EXTERNALIZABLE
SC_ENUMbyteconstant · statico.SC_ENUM
SUBSTITUTION_PERMISSIONSerializablePermissionconstant · statico.SUBSTITUTION_PERMISSION
SUBCLASS_IMPLEMENTATION_PERMISSIONSerializablePermissionconstant · statico.SUBCLASS_IMPLEMENTATION_PERMISSION
SERIAL_FILTER_PERMISSIONSerializablePermissionconstant · statico.SERIAL_FILTER_PERMISSION
PROTOCOL_VERSION_1intconstant · statico.PROTOCOL_VERSION_1
PROTOCOL_VERSION_2intconstant · statico.PROTOCOL_VERSION_2

Methods

MethodRing callJava overloads
defaultWriteObjectdefaultWriteObject()void defaultWriteObject()
putFieldsputFields()PutField putFields()
resetreset()void reset()
useProtocolVersionuseProtocolVersion(version)void useProtocolVersion(int version)
writeBooleanwriteBoolean(val)void writeBoolean(boolean val)
writeBytewriteByte(val)void writeByte(int val)
writeByteswriteBytes(str)void writeBytes(String str)
writeCharwriteChar(val)void writeChar(int val)
writeCharswriteChars(str)void writeChars(String str)
writeDoublewriteDouble(val)void writeDouble(double val)
writeFieldswriteFields()void writeFields()
writeFloatwriteFloat(val)void writeFloat(float val)
writeIntwriteInt(val)void writeInt(int val)
writeLongwriteLong(val)void writeLong(long val)
writeObjectwriteObject(obj)void writeObject(Object obj)
writeShortwriteShort(val)void writeShort(int val)
writeUnsharedwriteUnshared(obj)void writeUnshared(Object obj)
writeUTFwriteUTF(str)void writeUTF(String str)

The methods and fields of OutputStream are inherited.

ObjectOutputStreamPutField#

abstract · extends Object · java.io.ObjectOutputStream$PutField

Methods

MethodRing callJava overloads
@put@put(name,val)void put(String name, float val)
void put(String name, long val)
void put(String name, int val)
void put(String name, double val)
void put(String name, Object val)
void put(String name, boolean val)
void put(String name, byte val)
void put(String name, char val)
void put(String name, short val)
writewrite(out)void write(ObjectOutput out)

The methods and fields of Object are inherited.

ObjectStreamClass#

class final · extends Object · java.io.ObjectStreamClass

Implements: Serializable

Fields

NameTypeAccessIn Ring
NO_FIELDSObjectStreamField[]constant · statico.NO_FIELDS

Methods

MethodRing callJava overloads
@getField@getField(name)ObjectStreamField getField(String name)
forClassforClass()Class forClass()
getFieldsgetFields()ObjectStreamField[] getFields()
getNamegetName()String getName()
getSerialVersionUIDgetSerialVersionUID()long getSerialVersionUID()
lookuplookup(cl)static ObjectStreamClass lookup(Class cl)
lookupAnylookupAny(cl)static ObjectStreamClass lookupAny(Class cl)

The methods and fields of Object are inherited.

ObjectStreamConstants#

interface · java.io.ObjectStreamConstants

Fields

NameTypeAccessIn Ring
STREAM_MAGICshortconstant · statico.STREAM_MAGIC
STREAM_VERSIONshortconstant · statico.STREAM_VERSION
TC_BASEbyteconstant · statico.TC_BASE
TC_NULLbyteconstant · statico.TC_NULL
TC_REFERENCEbyteconstant · statico.TC_REFERENCE
TC_CLASSDESCbyteconstant · statico.TC_CLASSDESC
TC_OBJECTbyteconstant · statico.TC_OBJECT
TC_STRINGbyteconstant · statico.TC_STRING
TC_ARRAYbyteconstant · statico.TC_ARRAY
TC_CLASSbyteconstant · statico.TC_CLASS
TC_BLOCKDATAbyteconstant · statico.TC_BLOCKDATA
TC_ENDBLOCKDATAbyteconstant · statico.TC_ENDBLOCKDATA
TC_RESETbyteconstant · statico.TC_RESET
TC_BLOCKDATALONGbyteconstant · statico.TC_BLOCKDATALONG
TC_EXCEPTIONbyteconstant · statico.TC_EXCEPTION
TC_LONGSTRINGbyteconstant · statico.TC_LONGSTRING
TC_PROXYCLASSDESCbyteconstant · statico.TC_PROXYCLASSDESC
TC_ENUMbyteconstant · statico.TC_ENUM
TC_MAXbyteconstant · statico.TC_MAX
baseWireHandleintconstant · statico.baseWireHandle
SC_WRITE_METHODbyteconstant · statico.SC_WRITE_METHOD
SC_BLOCK_DATAbyteconstant · statico.SC_BLOCK_DATA
SC_SERIALIZABLEbyteconstant · statico.SC_SERIALIZABLE
SC_EXTERNALIZABLEbyteconstant · statico.SC_EXTERNALIZABLE
SC_ENUMbyteconstant · statico.SC_ENUM
SUBSTITUTION_PERMISSIONSerializablePermissionconstant · statico.SUBSTITUTION_PERMISSION
SUBCLASS_IMPLEMENTATION_PERMISSIONSerializablePermissionconstant · statico.SUBCLASS_IMPLEMENTATION_PERMISSION
SERIAL_FILTER_PERMISSIONSerializablePermissionconstant · statico.SERIAL_FILTER_PERMISSION
PROTOCOL_VERSION_1intconstant · statico.PROTOCOL_VERSION_1
PROTOCOL_VERSION_2intconstant · statico.PROTOCOL_VERSION_2

ObjectStreamException#

abstract · extends IOException · java.io.ObjectStreamException

The methods and fields of IOException are inherited.

ObjectStreamField#

class · extends Object · java.io.ObjectStreamField

Implements: Comparable

Constructors

new ObjectStreamField(String name, Class type)
new ObjectStreamField(String name, Class type, boolean unshared)

Ring: new ObjectStreamField(args) uses the constructor with the fewest parameters (at least one); new ObjectStreamField makes the object with the constructor without parameters; the others: (new ObjectStreamField).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
compareTocompareTo(obj)int compareTo(Object obj)
getNamegetName()String getName()
getOffsetgetOffset()int getOffset()
getTypegetType()Class getType()
getTypeCodegetTypeCode()char getTypeCode()
getTypeStringgetTypeString()String getTypeString()
isPrimitiveisPrimitive()boolean isPrimitive()
isUnsharedisUnshared()boolean isUnshared()

The methods and fields of Object are inherited.

OptionalDataException#

class final · extends ObjectStreamException · java.io.OptionalDataException

Fields

NameTypeAccessIn Ring
lengthintread, writeo.length o.length = v
eofbooleanread, writeo.eof o.eof = v

The methods and fields of ObjectStreamException are inherited.

OutputStream#

abstract · extends Object · java.io.OutputStream

Implements: Closeable, Flushable

Methods

MethodRing callJava overloads
closeclose()void close()
flushflush()void flush()
nullOutputStreamnullOutputStream()static OutputStream nullOutputStream()
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)

The methods and fields of Object are inherited.

OutputStreamWriter#

class · extends Writer · java.io.OutputStreamWriter

Constructors

new OutputStreamWriter(OutputStream out)
new OutputStreamWriter(OutputStream out, CharsetEncoder enc)
new OutputStreamWriter(OutputStream out, Charset cs)
new OutputStreamWriter(OutputStream out, String charsetName)

Ring: new OutputStreamWriter(args) uses the constructor with the fewest parameters (at least one); new OutputStreamWriter makes the object with the constructor without parameters; the others: (new OutputStreamWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getEncodinggetEncoding()String getEncoding()

The methods and fields of Writer are inherited.

PipedInputStream#

class · extends InputStream · java.io.PipedInputStream

Constructors

new PipedInputStream()
new PipedInputStream(int pipeSize)
new PipedInputStream(PipedOutputStream src)
new PipedInputStream(PipedOutputStream src, int pipeSize)

Ring: new PipedInputStream(args) uses the constructor with the fewest parameters (at least one); new PipedInputStream makes the object with the constructor without parameters; the others: (new PipedInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
connectconnect(src)void connect(PipedOutputStream src)

The methods and fields of InputStream are inherited.

PipedOutputStream#

class · extends OutputStream · java.io.PipedOutputStream

Constructors

new PipedOutputStream()
new PipedOutputStream(PipedInputStream snk)

Ring: new PipedOutputStream(args) uses the constructor with the fewest parameters (at least one); new PipedOutputStream makes the object with the constructor without parameters; the others: (new PipedOutputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
connectconnect(snk)void connect(PipedInputStream snk)

The methods and fields of OutputStream are inherited.

PipedReader#

class · extends Reader · java.io.PipedReader

Constructors

new PipedReader()
new PipedReader(int pipeSize)
new PipedReader(PipedWriter src)
new PipedReader(PipedWriter src, int pipeSize)

Ring: new PipedReader(args) uses the constructor with the fewest parameters (at least one); new PipedReader makes the object with the constructor without parameters; the others: (new PipedReader).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
connectconnect(src)void connect(PipedWriter src)

The methods and fields of Reader are inherited.

PipedWriter#

class · extends Writer · java.io.PipedWriter

Constructors

new PipedWriter()
new PipedWriter(PipedReader snk)

Ring: new PipedWriter(args) uses the constructor with the fewest parameters (at least one); new PipedWriter makes the object with the constructor without parameters; the others: (new PipedWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
connectconnect(snk)void connect(PipedReader snk)

The methods and fields of Writer are inherited.

PrintStream#

class · extends FilterOutputStream · java.io.PrintStream

Implements: Appendable, Closeable

Constructors

new PrintStream(String fileName)
new PrintStream(File file)
new PrintStream(OutputStream out)
new PrintStream(String fileName, String csn)
new PrintStream(String fileName, Charset charset)
new PrintStream(File file, String csn)
new PrintStream(File file, Charset charset)
new PrintStream(OutputStream out, boolean autoFlush)
new PrintStream(OutputStream out, boolean autoFlush, Charset charset)
new PrintStream(OutputStream out, boolean autoFlush, String encoding)

Ring: new PrintStream(args) uses the constructor with the fewest parameters (at least one); new PrintStream makes the object with the constructor without parameters; the others: (new PrintStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@println@println(x)void println(String x)
void println(Object x)
void println(float x)
void println(double x)
void println(char[] x)
void println(boolean x)
void println(char x)
void println(int x)
void println(long x)
appendappend(csq)
append([csq,start,end])
append([ :csq = v, :start = v, :end = v ])
PrintStream append(CharSequence csq)
PrintStream append(char c)
PrintStream append(CharSequence csq, int start, int end)
charsetcharset()Charset charset()
checkErrorcheckError()boolean checkError()
formatformat([format,args])
format([ :format = v, :args = v ])
format([l,format,args])
format([ :l = v, :format = v, :args = v ])
PrintStream format(String format, Object[] args)
PrintStream format(Locale l, String format, Object[] args)
printprint(obj)void print(Object obj)
void print(String s)
void print(char[] s)
void print(boolean b)
void print(char c)
void print(int i)
void print(double d)
void print(float f)
void print(long l)
printfprintf([format,args])
printf([ :format = v, :args = v ])
printf([l,format,args])
printf([ :l = v, :format = v, :args = v ])
PrintStream printf(String format, Object[] args)
PrintStream printf(Locale l, String format, Object[] args)
printlnprintln()void println()
writeByteswriteBytes(buf)void writeBytes(byte[] buf)

The methods and fields of FilterOutputStream are inherited.

PrintWriter#

class · extends Writer · java.io.PrintWriter

Constructors

new PrintWriter(String fileName)
new PrintWriter(File file)
new PrintWriter(Writer out)
new PrintWriter(OutputStream out)
new PrintWriter(String fileName, String csn)
new PrintWriter(String fileName, Charset charset)
new PrintWriter(File file, Charset charset)
new PrintWriter(File file, String csn)
new PrintWriter(Writer out, boolean autoFlush)
new PrintWriter(OutputStream out, boolean autoFlush)
new PrintWriter(OutputStream out, boolean autoFlush, Charset charset)

Ring: new PrintWriter(args) uses the constructor with the fewest parameters (at least one); new PrintWriter makes the object with the constructor without parameters; the others: (new PrintWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@println@println(x)void println(double x)
void println(float x)
void println(long x)
void println(char[] x)
void println(String x)
void println(Object x)
void println(boolean x)
void println(char x)
void println(int x)
checkErrorcheckError()boolean checkError()
formatformat([format,args])
format([ :format = v, :args = v ])
format([l,format,args])
format([ :l = v, :format = v, :args = v ])
PrintWriter format(String format, Object[] args)
PrintWriter format(Locale l, String format, Object[] args)
printprint(f)void print(float f)
void print(long l)
void print(int i)
void print(char c)
void print(boolean b)
void print(Object obj)
void print(String s)
void print(char[] s)
void print(double d)
printfprintf([format,args])
printf([ :format = v, :args = v ])
printf([l,format,args])
printf([ :l = v, :format = v, :args = v ])
PrintWriter printf(String format, Object[] args)
PrintWriter printf(Locale l, String format, Object[] args)
printlnprintln()void println()

The methods and fields of Writer are inherited.

PushbackInputStream#

class · extends FilterInputStream · java.io.PushbackInputStream

Constructors

new PushbackInputStream(InputStream in)
new PushbackInputStream(InputStream in, int size)

Ring: new PushbackInputStream(args) uses the constructor with the fewest parameters (at least one); new PushbackInputStream makes the object with the constructor without parameters; the others: (new PushbackInputStream).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
unreadunread(b)
unread([b,off,len])
unread([ :b = v, :off = v, :len = v ])
void unread(byte[] b)
void unread(int b)
void unread(byte[] b, int off, int len)

The methods and fields of FilterInputStream are inherited.

PushbackReader#

class · extends FilterReader · java.io.PushbackReader

Constructors

new PushbackReader(Reader in)
new PushbackReader(Reader in, int size)

Ring: new PushbackReader(args) uses the constructor with the fewest parameters (at least one); new PushbackReader makes the object with the constructor without parameters; the others: (new PushbackReader).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
unreadunread(cbuf)
unread([cbuf,off,len])
unread([ :cbuf = v, :off = v, :len = v ])
void unread(char[] cbuf)
void unread(int c)
void unread(char[] cbuf, int off, int len)

The methods and fields of FilterReader are inherited.

RandomAccessFile#

class · extends Object · java.io.RandomAccessFile

Implements: DataOutput, DataInput, Closeable

Constructors

new RandomAccessFile(File file, String mode)
new RandomAccessFile(String pathname, String mode)

Ring: new RandomAccessFile(args) uses the constructor with the fewest parameters (at least one); new RandomAccessFile makes the object with the constructor without parameters; the others: (new RandomAccessFile).@New([ :param = value ]) or .@New([v1,v2]).

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()
getChannelgetChannel()FileChannel getChannel()
getFDgetFD()FileDescriptor getFD()
getFilePointergetFilePointer()long getFilePointer()
lengthlength()long length()
readread()int read()
readBooleanreadBoolean()boolean readBoolean()
readBytereadByte()byte readByte()
readCharreadChar()char readChar()
readDoublereadDouble()double readDouble()
readFloatreadFloat()float readFloat()
readFullyreadFully(b)
readFully([b,off,len])
readFully([ :b = v, :off = v, :len = v ])
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
readIntreadInt()int readInt()
readLinereadLine()String readLine()
readLongreadLong()long readLong()
readShortreadShort()short readShort()
readUnsignedBytereadUnsignedByte()int readUnsignedByte()
readUnsignedShortreadUnsignedShort()int readUnsignedShort()
readUTFreadUTF()String readUTF()
seekseek(pos)void seek(long pos)
setLengthsetLength(newLength)void setLength(long newLength)
skipBytesskipBytes(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)
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)void writeChars(String s)
writeDoublewriteDouble(v)void writeDouble(double v)
writeFloatwriteFloat(v)void writeFloat(float v)
writeIntwriteInt(v)void writeInt(int v)
writeLongwriteLong(v)void writeLong(long v)
writeShortwriteShort(v)void writeShort(int v)
writeUTFwriteUTF(str)void writeUTF(String str)

The methods and fields of Object are inherited.

Reader#

abstract · extends Object · java.io.Reader

Implements: Readable, Closeable

Methods

MethodRing callJava overloads
@read@read(cbuf)
@read([cbuf,off,len])
@read([ :cbuf = v, :off = v, :len = v ])
int read(char[] cbuf)
int read(CharBuffer target)
int read(char[] cbuf, int off, int len)
closeclose()void close()
markmark(readAheadLimit)void mark(int readAheadLimit)
markSupportedmarkSupported()boolean markSupported()
nullReadernullReader()static Reader nullReader()
ofof(cs)static Reader of(CharSequence cs)
readread()int read()
readAllAsStringreadAllAsString()String readAllAsString()
readAllLinesreadAllLines()List readAllLines()
readyready()boolean ready()
resetreset()void reset()
skipskip(n)long skip(long n)
transferTotransferTo(out)long transferTo(Writer out)

The methods and fields of Object are inherited.

SequenceInputStream#

class · extends InputStream · java.io.SequenceInputStream

Constructors

new SequenceInputStream(Enumeration e)
new SequenceInputStream(InputStream s1, InputStream s2)

Ring: new SequenceInputStream(args) uses the constructor with the fewest parameters (at least one); new SequenceInputStream makes the object with the constructor without parameters; the others: (new SequenceInputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of InputStream are inherited.

Serializable#

interface · java.io.Serializable

SerializablePermission#

class final · extends BasicPermission · java.io.SerializablePermission

Constructors

new SerializablePermission(String name)
new SerializablePermission(String name, String actions)

Ring: new SerializablePermission(args) uses the constructor with the fewest parameters (at least one); new SerializablePermission makes the object with the constructor without parameters; the others: (new SerializablePermission).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of BasicPermission are inherited.

StreamCorruptedException#

class · extends ObjectStreamException · java.io.StreamCorruptedException

Constructors

new StreamCorruptedException()
new StreamCorruptedException(String reason)

Ring: new StreamCorruptedException(args) uses the constructor with the fewest parameters (at least one); new StreamCorruptedException makes the object with the constructor without parameters; the others: (new StreamCorruptedException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of ObjectStreamException are inherited.

StreamTokenizer#

class · extends Object · java.io.StreamTokenizer

Constructors

new StreamTokenizer(Reader r)
new StreamTokenizer(InputStream is)

Ring: new StreamTokenizer(args) uses the constructor with the fewest parameters (at least one); new StreamTokenizer makes the object with the constructor without parameters; the others: (new StreamTokenizer).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
ttypeintread, writeo.ttype o.ttype = v
TT_EOFintconstant · statico.TT_EOF
TT_EOLintconstant · statico.TT_EOL
TT_NUMBERintconstant · statico.TT_NUMBER
TT_WORDintconstant · statico.TT_WORD
svalStringread, writeo.sval o.sval = v
nvaldoubleread, writeo.nval o.nval = v

Methods

MethodRing callJava overloads
commentCharcommentChar(ch)void commentChar(int ch)
eolIsSignificanteolIsSignificant(flag)void eolIsSignificant(boolean flag)
linenolineno()int lineno()
lowerCaseModelowerCaseMode(fl)void lowerCaseMode(boolean fl)
nextTokennextToken()int nextToken()
ordinaryCharordinaryChar(ch)void ordinaryChar(int ch)
ordinaryCharsordinaryChars(low,hi)void ordinaryChars(int low, int hi)
parseNumbersparseNumbers()void parseNumbers()
pushBackpushBack()void pushBack()
quoteCharquoteChar(ch)void quoteChar(int ch)
resetSyntaxresetSyntax()void resetSyntax()
slashSlashCommentsslashSlashComments(flag)void slashSlashComments(boolean flag)
slashStarCommentsslashStarComments(flag)void slashStarComments(boolean flag)
whitespaceCharswhitespaceChars(low,hi)void whitespaceChars(int low, int hi)
wordCharswordChars(low,hi)void wordChars(int low, int hi)

The methods and fields of Object are inherited.

StringBufferInputStream#

class · extends InputStream · java.io.StringBufferInputStream

Constructors

new StringBufferInputStream(String s)

Ring: new StringBufferInputStream(args) uses the constructor with the fewest parameters (at least one); new StringBufferInputStream makes the object with the constructor without parameters; the others: (new StringBufferInputStream).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of InputStream are inherited.

StringReader#

class · extends Reader · java.io.StringReader

Constructors

new StringReader(String s)

Ring: new StringReader(args) uses the constructor with the fewest parameters (at least one); new StringReader makes the object with the constructor without parameters; the others: (new StringReader).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Reader are inherited.

StringWriter#

class · extends Writer · java.io.StringWriter

Constructors

new StringWriter()
new StringWriter(int initialSize)

Ring: new StringWriter(args) uses the constructor with the fewest parameters (at least one); new StringWriter makes the object with the constructor without parameters; the others: (new StringWriter).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getBuffergetBuffer()StringBuffer getBuffer()

The methods and fields of Writer are inherited.

SyncFailedException#

class · extends IOException · java.io.SyncFailedException

Constructors

new SyncFailedException(String desc)

Ring: new SyncFailedException(args) uses the constructor with the fewest parameters (at least one); new SyncFailedException makes the object with the constructor without parameters; the others: (new SyncFailedException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

UncheckedIOException#

class · extends RuntimeException · java.io.UncheckedIOException

Constructors

new UncheckedIOException(IOException cause)
new UncheckedIOException(String message, IOException cause)

Ring: new UncheckedIOException(args) uses the constructor with the fewest parameters (at least one); new UncheckedIOException makes the object with the constructor without parameters; the others: (new UncheckedIOException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of RuntimeException are inherited.

UnsupportedEncodingException#

class · extends IOException · java.io.UnsupportedEncodingException

Constructors

new UnsupportedEncodingException()
new UnsupportedEncodingException(String s)

Ring: new UnsupportedEncodingException(args) uses the constructor with the fewest parameters (at least one); new UnsupportedEncodingException makes the object with the constructor without parameters; the others: (new UnsupportedEncodingException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

UTFDataFormatException#

class · extends IOException · java.io.UTFDataFormatException

Constructors

new UTFDataFormatException()
new UTFDataFormatException(String s)

Ring: new UTFDataFormatException(args) uses the constructor with the fewest parameters (at least one); new UTFDataFormatException makes the object with the constructor without parameters; the others: (new UTFDataFormatException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of IOException are inherited.

WriteAbortedException#

class · extends ObjectStreamException · java.io.WriteAbortedException

Constructors

new WriteAbortedException(String s, Exception ex)

Ring: new WriteAbortedException(args) uses the constructor with the fewest parameters (at least one); new WriteAbortedException makes the object with the constructor without parameters; the others: (new WriteAbortedException).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
detailExceptionread, writeo.detail o.detail = v

The methods and fields of ObjectStreamException are inherited.

Writer#

abstract · extends Object · java.io.Writer

Implements: Appendable, Closeable, Flushable

Methods

MethodRing callJava overloads
appendappend(c)
append([csq,start,end])
append([ :csq = v, :start = v, :end = v ])
Writer append(char c)
Writer append(CharSequence csq)
Writer append(CharSequence csq, int start, int end)
closeclose()void close()
flushflush()void flush()
nullWriternullWriter()static Writer nullWriter()
writewrite(c)
write([str,off,len])
write([ :str = v, :off = v, :len = v ])
void write(int c)
void write(String str)
void write(char[] cbuf)
void write(String str, int off, int len)
void write(char[] cbuf, int off, int len)

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.