java.io
85 classes of the module java.base.
Load them with:
using {
"java.io"
}
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
| Method | Ring call | Java overloads |
|---|---|---|
lines | lines() | Stream lines() |
readLine | readLine() | 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
| Method | Ring call | Java overloads |
|---|---|---|
newLine | newLine() | 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
| Method | Ring call | Java overloads |
|---|---|---|
@toString | @toString(charsetName) | String toString(String charsetName)String toString(Charset charset)String toString(int hibyte) |
reset | reset() | void reset() |
size | size() | int size() |
toByteArray | toByteArray() | byte[] toByteArray() |
writeBytes | writeBytes(b) | void writeBytes(byte[] b) |
writeTo | writeTo(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
| Method | Ring call | Java overloads |
|---|---|---|
reset | reset() | void reset() |
size | size() | int size() |
toCharArray | toCharArray() | char[] toCharArray() |
writeTo | writeTo(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
Console#
class · extends Object · java.io.Console
Implements: Flushable
Methods
| Method | Ring call | Java 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) |
charset | charset() | Charset charset() |
flush | flush() | void flush() |
format | format([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) |
isTerminal | isTerminal() | boolean isTerminal() |
printf | printf([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) |
reader | reader() | Reader reader() |
readLine | readLine() | String readLine() |
readPassword | readPassword() | char[] readPassword() |
writer | writer() | PrintWriter writer() |
The methods and fields of Object are inherited.
DataInput#
interface · java.io.DataInput
Methods
| Method | Ring call | Java overloads |
|---|---|---|
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([b,off,len])readFully([ :b = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(byte[] b, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
skipBytes | skipBytes(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
| Method | Ring call | Java overloads |
|---|---|---|
@readUTF | @readUTF(in) | static String readUTF(DataInput in) |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([b,off,len])readFully([ :b = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(byte[] b, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
skipBytes | skipBytes(n) | int skipBytes(int n) |
The methods and fields of FilterInputStream are inherited.
DataOutput#
interface · java.io.DataOutput
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) |
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) | void writeChars(String s) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeInt | writeInt(v) | void writeInt(int v) |
writeLong | writeLong(v) | void writeLong(long v) |
writeShort | writeShort(v) | void writeShort(int v) |
writeUTF | writeUTF(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
| Method | Ring call | Java overloads |
|---|---|---|
size | size() | int size() |
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) | void writeChars(String s) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeInt | writeInt(v) | void writeInt(int v) |
writeLong | writeLong(v) | void writeLong(long v) |
writeShort | writeShort(v) | void writeShort(int v) |
writeUTF | writeUTF(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
| Method | Ring call | Java overloads |
|---|---|---|
readExternal | readExternal(in) | void readExternal(ObjectInput in) |
writeExternal | writeExternal(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
| Name | Type | Access | In Ring |
|---|---|---|---|
separatorChar | char | constant · static | o.separatorChar |
separator | String | constant · static | o.separator |
pathSeparatorChar | char | constant · static | o.pathSeparatorChar |
pathSeparator | String | constant · static | o.pathSeparator |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@list | @list(filter) | String[] list(FilenameFilter filter) |
@listFiles | @listFiles(filter) | File[] listFiles(FileFilter filter)File[] listFiles(FilenameFilter filter) |
canExecute | canExecute() | boolean canExecute() |
canRead | canRead() | boolean canRead() |
canWrite | canWrite() | boolean canWrite() |
compareTo | compareTo(pathname) | int compareTo(File pathname) |
createNewFile | createNewFile() | boolean createNewFile() |
createTempFile | createTempFile([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) |
delete | delete() | boolean delete() |
deleteOnExit | deleteOnExit() | void deleteOnExit() |
exists | exists() | boolean exists() |
getAbsoluteFile | getAbsoluteFile() | File getAbsoluteFile() |
getAbsolutePath | getAbsolutePath() | String getAbsolutePath() |
getCanonicalFile | getCanonicalFile() | File getCanonicalFile() |
getCanonicalPath | getCanonicalPath() | String getCanonicalPath() |
getFreeSpace | getFreeSpace() | long getFreeSpace() |
getName | getName() | String getName() |
getParent | getParent() | String getParent() |
getParentFile | getParentFile() | File getParentFile() |
getPath | getPath() | String getPath() |
getTotalSpace | getTotalSpace() | long getTotalSpace() |
getUsableSpace | getUsableSpace() | long getUsableSpace() |
isAbsolute | isAbsolute() | boolean isAbsolute() |
isDirectory | isDirectory() | boolean isDirectory() |
isFile | isFile() | boolean isFile() |
isHidden | isHidden() | boolean isHidden() |
lastModified | lastModified() | long lastModified() |
length | length() | long length() |
list | list() | String[] list() |
listFiles | listFiles() | File[] listFiles() |
listRoots | listRoots() | static File[] listRoots() |
mkdir | mkdir() | boolean mkdir() |
mkdirs | mkdirs() | boolean mkdirs() |
renameTo | renameTo(dest) | boolean renameTo(File dest) |
setExecutable | setExecutable(executable)setExecutable([executable,ownerOnly])setExecutable([ :executable = v, :ownerOnly = v ]) | boolean setExecutable(boolean executable)boolean setExecutable(boolean executable, boolean ownerOnly) |
setLastModified | setLastModified(time) | boolean setLastModified(long time) |
setReadable | setReadable(readable)setReadable([readable,ownerOnly])setReadable([ :readable = v, :ownerOnly = v ]) | boolean setReadable(boolean readable)boolean setReadable(boolean readable, boolean ownerOnly) |
setReadOnly | setReadOnly() | boolean setReadOnly() |
setWritable | setWritable(writable)setWritable([writable,ownerOnly])setWritable([ :writable = v, :ownerOnly = v ]) | boolean setWritable(boolean writable)boolean setWritable(boolean writable, boolean ownerOnly) |
toPath | toPath() | Path toPath() |
toURI | toURI() | URI toURI() |
toURL | toURL() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
in | FileDescriptor | constant · static | o.in |
out | FileDescriptor | constant · static | o.out |
err | FileDescriptor | constant · static | o.err |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
sync | sync() | void sync() |
valid | valid() | boolean valid() |
The methods and fields of Object are inherited.
FileFilter#
interface · java.io.FileFilter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(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
| Method | Ring call | Java overloads |
|---|---|---|
getChannel | getChannel() | FileChannel getChannel() |
getFD | getFD() | FileDescriptor getFD() |
The methods and fields of InputStream are inherited.
FilenameFilter#
interface · java.io.FilenameFilter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(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
| Method | Ring call | Java overloads |
|---|---|---|
getChannel | getChannel() | FileChannel getChannel() |
getFD | getFD() | 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
| Method | Ring call | Java overloads |
|---|---|---|
flush | flush() | void flush() |
InputStream#
abstract · extends Object · java.io.InputStream
Implements: Closeable
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) |
available | available() | int available() |
close | close() | void close() |
mark | mark(readlimit) | void mark(int readlimit) |
markSupported | markSupported() | boolean markSupported() |
nullInputStream | nullInputStream() | static InputStream nullInputStream() |
read | read() | int read() |
readAllBytes | readAllBytes() | byte[] readAllBytes() |
readNBytes | readNBytes(len)readNBytes([b,off,len])readNBytes([ :b = v, :off = v, :len = v ]) | byte[] readNBytes(int len)int readNBytes(byte[] b, int off, int len) |
reset | reset() | void reset() |
skip | skip(n) | long skip(long n) |
skipNBytes | skipNBytes(n) | void skipNBytes(long n) |
transferTo | transferTo(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
| Method | Ring call | Java overloads |
|---|---|---|
getEncoding | getEncoding() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
bytesTransferred | int | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
classname | String | read, write | o.@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
| Method | Ring call | Java overloads |
|---|---|---|
getLineNumber | getLineNumber() | int getLineNumber() |
setLineNumber | setLineNumber(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
| Method | Ring call | Java overloads |
|---|---|---|
getLineNumber | getLineNumber() | int getLineNumber() |
setLineNumber | setLineNumber(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
| 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) |
available | available() | int available() |
close | close() | void close() |
read | read() | int read() |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([b,off,len])readFully([ :b = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(byte[] b, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readObject | readObject() | Object readObject() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
skip | skip(n) | long skip(long n) |
skipBytes | skipBytes(n) | int skipBytes(int n) |
ObjectInputFilter#
interface · java.io.ObjectInputFilter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
allowFilter | allowFilter(predicate,otherStatus) | static ObjectInputFilter allowFilter(Predicate predicate, Status otherStatus) |
checkInput | checkInput(filterInfo) | Status checkInput(FilterInfo filterInfo) |
merge | merge(filter,anotherFilter) | static ObjectInputFilter merge(ObjectInputFilter filter, ObjectInputFilter anotherFilter) |
rejectFilter | rejectFilter(predicate,otherStatus) | static ObjectInputFilter rejectFilter(Predicate predicate, Status otherStatus) |
rejectUndecidedClass | rejectUndecidedClass(filter) | static ObjectInputFilter rejectUndecidedClass(ObjectInputFilter filter) |
ObjectInputFilterConfig#
class final · extends Object · java.io.ObjectInputFilter$Config
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createFilter | createFilter(pattern) | static ObjectInputFilter createFilter(String pattern) |
getSerialFilter | getSerialFilter() | static ObjectInputFilter getSerialFilter() |
getSerialFilterFactory | getSerialFilterFactory() | static BinaryOperator getSerialFilterFactory() |
setSerialFilter | setSerialFilter(filter) | static void setSerialFilter(ObjectInputFilter filter) |
setSerialFilterFactory | setSerialFilterFactory(filterFactory) | static void setSerialFilterFactory(BinaryOperator filterFactory) |
The methods and fields of Object are inherited.
ObjectInputFilterFilterInfo#
interface · java.io.ObjectInputFilter$FilterInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
arrayLength | arrayLength() | long arrayLength() |
depth | depth() | long depth() |
references | references() | long references() |
serialClass | serialClass() | Class serialClass() |
streamBytes | streamBytes() | long streamBytes() |
ObjectInputFilterStatus#
enum · extends Enum · java.io.ObjectInputFilter$Status
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UNDECIDED | Status | constant · static | o.UNDECIDED |
ALLOWED | Status | constant · static | o.ALLOWED |
REJECTED | Status | constant · static | o.REJECTED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Status valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
STREAM_MAGIC | short | constant · static | o.STREAM_MAGIC |
STREAM_VERSION | short | constant · static | o.STREAM_VERSION |
TC_BASE | byte | constant · static | o.TC_BASE |
TC_NULL | byte | constant · static | o.TC_NULL |
TC_REFERENCE | byte | constant · static | o.TC_REFERENCE |
TC_CLASSDESC | byte | constant · static | o.TC_CLASSDESC |
TC_OBJECT | byte | constant · static | o.TC_OBJECT |
TC_STRING | byte | constant · static | o.TC_STRING |
TC_ARRAY | byte | constant · static | o.TC_ARRAY |
TC_CLASS | byte | constant · static | o.TC_CLASS |
TC_BLOCKDATA | byte | constant · static | o.TC_BLOCKDATA |
TC_ENDBLOCKDATA | byte | constant · static | o.TC_ENDBLOCKDATA |
TC_RESET | byte | constant · static | o.TC_RESET |
TC_BLOCKDATALONG | byte | constant · static | o.TC_BLOCKDATALONG |
TC_EXCEPTION | byte | constant · static | o.TC_EXCEPTION |
TC_LONGSTRING | byte | constant · static | o.TC_LONGSTRING |
TC_PROXYCLASSDESC | byte | constant · static | o.TC_PROXYCLASSDESC |
TC_ENUM | byte | constant · static | o.TC_ENUM |
TC_MAX | byte | constant · static | o.TC_MAX |
baseWireHandle | int | constant · static | o.baseWireHandle |
SC_WRITE_METHOD | byte | constant · static | o.SC_WRITE_METHOD |
SC_BLOCK_DATA | byte | constant · static | o.SC_BLOCK_DATA |
SC_SERIALIZABLE | byte | constant · static | o.SC_SERIALIZABLE |
SC_EXTERNALIZABLE | byte | constant · static | o.SC_EXTERNALIZABLE |
SC_ENUM | byte | constant · static | o.SC_ENUM |
SUBSTITUTION_PERMISSION | SerializablePermission | constant · static | o.SUBSTITUTION_PERMISSION |
SUBCLASS_IMPLEMENTATION_PERMISSION | SerializablePermission | constant · static | o.SUBCLASS_IMPLEMENTATION_PERMISSION |
SERIAL_FILTER_PERMISSION | SerializablePermission | constant · static | o.SERIAL_FILTER_PERMISSION |
PROTOCOL_VERSION_1 | int | constant · static | o.PROTOCOL_VERSION_1 |
PROTOCOL_VERSION_2 | int | constant · static | o.PROTOCOL_VERSION_2 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
defaultReadObject | defaultReadObject() | void defaultReadObject() |
getObjectInputFilter | getObjectInputFilter() | ObjectInputFilter getObjectInputFilter() |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFields | readFields() | GetField readFields() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(buf)readFully([buf,off,len])readFully([ :buf = v, :off = v, :len = v ]) | void readFully(byte[] buf)void readFully(byte[] buf, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readObject | readObject() | Object readObject() |
readShort | readShort() | short readShort() |
readUnshared | readUnshared() | Object readUnshared() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
registerValidation | registerValidation(obj,prio) | void registerValidation(ObjectInputValidation obj, int prio) |
setObjectInputFilter | setObjectInputFilter(filter) | void setObjectInputFilter(ObjectInputFilter filter) |
skipBytes | skipBytes(len) | int skipBytes(int len) |
The methods and fields of InputStream are inherited.
ObjectInputStreamGetField#
abstract · extends Object · java.io.ObjectInputStream$GetField
Methods
| Method | Ring call | Java 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) |
defaulted | defaulted(name) | boolean defaulted(String name) |
getObjectStreamClass | getObjectStreamClass() | ObjectStreamClass getObjectStreamClass() |
The methods and fields of Object are inherited.
ObjectInputValidation#
interface · java.io.ObjectInputValidation
Methods
| Method | Ring call | Java overloads |
|---|---|---|
validateObject | validateObject() | void validateObject() |
ObjectOutput#
interface · java.io.ObjectOutput
Extends: DataOutput, AutoCloseable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
flush | flush() | void flush() |
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) |
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) | void writeChars(String s) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeInt | writeInt(v) | void writeInt(int v) |
writeLong | writeLong(v) | void writeLong(long v) |
writeObject | writeObject(obj) | void writeObject(Object obj) |
writeShort | writeShort(v) | void writeShort(int v) |
writeUTF | writeUTF(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
| Name | Type | Access | In Ring |
|---|---|---|---|
STREAM_MAGIC | short | constant · static | o.STREAM_MAGIC |
STREAM_VERSION | short | constant · static | o.STREAM_VERSION |
TC_BASE | byte | constant · static | o.TC_BASE |
TC_NULL | byte | constant · static | o.TC_NULL |
TC_REFERENCE | byte | constant · static | o.TC_REFERENCE |
TC_CLASSDESC | byte | constant · static | o.TC_CLASSDESC |
TC_OBJECT | byte | constant · static | o.TC_OBJECT |
TC_STRING | byte | constant · static | o.TC_STRING |
TC_ARRAY | byte | constant · static | o.TC_ARRAY |
TC_CLASS | byte | constant · static | o.TC_CLASS |
TC_BLOCKDATA | byte | constant · static | o.TC_BLOCKDATA |
TC_ENDBLOCKDATA | byte | constant · static | o.TC_ENDBLOCKDATA |
TC_RESET | byte | constant · static | o.TC_RESET |
TC_BLOCKDATALONG | byte | constant · static | o.TC_BLOCKDATALONG |
TC_EXCEPTION | byte | constant · static | o.TC_EXCEPTION |
TC_LONGSTRING | byte | constant · static | o.TC_LONGSTRING |
TC_PROXYCLASSDESC | byte | constant · static | o.TC_PROXYCLASSDESC |
TC_ENUM | byte | constant · static | o.TC_ENUM |
TC_MAX | byte | constant · static | o.TC_MAX |
baseWireHandle | int | constant · static | o.baseWireHandle |
SC_WRITE_METHOD | byte | constant · static | o.SC_WRITE_METHOD |
SC_BLOCK_DATA | byte | constant · static | o.SC_BLOCK_DATA |
SC_SERIALIZABLE | byte | constant · static | o.SC_SERIALIZABLE |
SC_EXTERNALIZABLE | byte | constant · static | o.SC_EXTERNALIZABLE |
SC_ENUM | byte | constant · static | o.SC_ENUM |
SUBSTITUTION_PERMISSION | SerializablePermission | constant · static | o.SUBSTITUTION_PERMISSION |
SUBCLASS_IMPLEMENTATION_PERMISSION | SerializablePermission | constant · static | o.SUBCLASS_IMPLEMENTATION_PERMISSION |
SERIAL_FILTER_PERMISSION | SerializablePermission | constant · static | o.SERIAL_FILTER_PERMISSION |
PROTOCOL_VERSION_1 | int | constant · static | o.PROTOCOL_VERSION_1 |
PROTOCOL_VERSION_2 | int | constant · static | o.PROTOCOL_VERSION_2 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
defaultWriteObject | defaultWriteObject() | void defaultWriteObject() |
putFields | putFields() | PutField putFields() |
reset | reset() | void reset() |
useProtocolVersion | useProtocolVersion(version) | void useProtocolVersion(int version) |
writeBoolean | writeBoolean(val) | void writeBoolean(boolean val) |
writeByte | writeByte(val) | void writeByte(int val) |
writeBytes | writeBytes(str) | void writeBytes(String str) |
writeChar | writeChar(val) | void writeChar(int val) |
writeChars | writeChars(str) | void writeChars(String str) |
writeDouble | writeDouble(val) | void writeDouble(double val) |
writeFields | writeFields() | void writeFields() |
writeFloat | writeFloat(val) | void writeFloat(float val) |
writeInt | writeInt(val) | void writeInt(int val) |
writeLong | writeLong(val) | void writeLong(long val) |
writeObject | writeObject(obj) | void writeObject(Object obj) |
writeShort | writeShort(val) | void writeShort(int val) |
writeUnshared | writeUnshared(obj) | void writeUnshared(Object obj) |
writeUTF | writeUTF(str) | void writeUTF(String str) |
The methods and fields of OutputStream are inherited.
ObjectOutputStreamPutField#
abstract · extends Object · java.io.ObjectOutputStream$PutField
Methods
| Method | Ring call | Java 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) |
write | write(out) | void write(ObjectOutput out) |
The methods and fields of Object are inherited.
ObjectStreamClass#
class final · extends Object · java.io.ObjectStreamClass
Implements: Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NO_FIELDS | ObjectStreamField[] | constant · static | o.NO_FIELDS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getField | @getField(name) | ObjectStreamField getField(String name) |
forClass | forClass() | Class forClass() |
getFields | getFields() | ObjectStreamField[] getFields() |
getName | getName() | String getName() |
getSerialVersionUID | getSerialVersionUID() | long getSerialVersionUID() |
lookup | lookup(cl) | static ObjectStreamClass lookup(Class cl) |
lookupAny | lookupAny(cl) | static ObjectStreamClass lookupAny(Class cl) |
The methods and fields of Object are inherited.
ObjectStreamConstants#
interface · java.io.ObjectStreamConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
STREAM_MAGIC | short | constant · static | o.STREAM_MAGIC |
STREAM_VERSION | short | constant · static | o.STREAM_VERSION |
TC_BASE | byte | constant · static | o.TC_BASE |
TC_NULL | byte | constant · static | o.TC_NULL |
TC_REFERENCE | byte | constant · static | o.TC_REFERENCE |
TC_CLASSDESC | byte | constant · static | o.TC_CLASSDESC |
TC_OBJECT | byte | constant · static | o.TC_OBJECT |
TC_STRING | byte | constant · static | o.TC_STRING |
TC_ARRAY | byte | constant · static | o.TC_ARRAY |
TC_CLASS | byte | constant · static | o.TC_CLASS |
TC_BLOCKDATA | byte | constant · static | o.TC_BLOCKDATA |
TC_ENDBLOCKDATA | byte | constant · static | o.TC_ENDBLOCKDATA |
TC_RESET | byte | constant · static | o.TC_RESET |
TC_BLOCKDATALONG | byte | constant · static | o.TC_BLOCKDATALONG |
TC_EXCEPTION | byte | constant · static | o.TC_EXCEPTION |
TC_LONGSTRING | byte | constant · static | o.TC_LONGSTRING |
TC_PROXYCLASSDESC | byte | constant · static | o.TC_PROXYCLASSDESC |
TC_ENUM | byte | constant · static | o.TC_ENUM |
TC_MAX | byte | constant · static | o.TC_MAX |
baseWireHandle | int | constant · static | o.baseWireHandle |
SC_WRITE_METHOD | byte | constant · static | o.SC_WRITE_METHOD |
SC_BLOCK_DATA | byte | constant · static | o.SC_BLOCK_DATA |
SC_SERIALIZABLE | byte | constant · static | o.SC_SERIALIZABLE |
SC_EXTERNALIZABLE | byte | constant · static | o.SC_EXTERNALIZABLE |
SC_ENUM | byte | constant · static | o.SC_ENUM |
SUBSTITUTION_PERMISSION | SerializablePermission | constant · static | o.SUBSTITUTION_PERMISSION |
SUBCLASS_IMPLEMENTATION_PERMISSION | SerializablePermission | constant · static | o.SUBCLASS_IMPLEMENTATION_PERMISSION |
SERIAL_FILTER_PERMISSION | SerializablePermission | constant · static | o.SERIAL_FILTER_PERMISSION |
PROTOCOL_VERSION_1 | int | constant · static | o.PROTOCOL_VERSION_1 |
PROTOCOL_VERSION_2 | int | constant · static | o.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
| Method | Ring call | Java overloads |
|---|---|---|
compareTo | compareTo(obj) | int compareTo(Object obj) |
getName | getName() | String getName() |
getOffset | getOffset() | int getOffset() |
getType | getType() | Class getType() |
getTypeCode | getTypeCode() | char getTypeCode() |
getTypeString | getTypeString() | String getTypeString() |
isPrimitive | isPrimitive() | boolean isPrimitive() |
isUnshared | isUnshared() | boolean isUnshared() |
The methods and fields of Object are inherited.
OptionalDataException#
class final · extends ObjectStreamException · java.io.OptionalDataException
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
length | int | read, write | o.length o.length = v |
eof | boolean | read, write | o.eof o.eof = v |
The methods and fields of ObjectStreamException are inherited.
OutputStream#
abstract · extends Object · java.io.OutputStream
Implements: Closeable, Flushable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
flush | flush() | void flush() |
nullOutputStream | nullOutputStream() | static OutputStream nullOutputStream() |
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) |
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
| Method | Ring call | Java overloads |
|---|---|---|
getEncoding | getEncoding() | 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
| Method | Ring call | Java overloads |
|---|---|---|
connect | connect(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
| Method | Ring call | Java overloads |
|---|---|---|
connect | connect(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
| Method | Ring call | Java overloads |
|---|---|---|
connect | connect(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
| Method | Ring call | Java overloads |
|---|---|---|
connect | connect(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
| Method | Ring call | Java 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) |
append | append(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) |
charset | charset() | Charset charset() |
checkError | checkError() | boolean checkError() |
format | format([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) |
print | print(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) |
printf | printf([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) |
println | println() | void println() |
writeBytes | writeBytes(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
| Method | Ring call | Java 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) |
checkError | checkError() | boolean checkError() |
format | format([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) |
print | print(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) |
printf | printf([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) |
println | println() | 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
| Method | Ring call | Java overloads |
|---|---|---|
unread | unread(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
| Method | Ring call | Java overloads |
|---|---|---|
unread | unread(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
| 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() |
getChannel | getChannel() | FileChannel getChannel() |
getFD | getFD() | FileDescriptor getFD() |
getFilePointer | getFilePointer() | long getFilePointer() |
length | length() | long length() |
read | read() | int read() |
readBoolean | readBoolean() | boolean readBoolean() |
readByte | readByte() | byte readByte() |
readChar | readChar() | char readChar() |
readDouble | readDouble() | double readDouble() |
readFloat | readFloat() | float readFloat() |
readFully | readFully(b)readFully([b,off,len])readFully([ :b = v, :off = v, :len = v ]) | void readFully(byte[] b)void readFully(byte[] b, int off, int len) |
readInt | readInt() | int readInt() |
readLine | readLine() | String readLine() |
readLong | readLong() | long readLong() |
readShort | readShort() | short readShort() |
readUnsignedByte | readUnsignedByte() | int readUnsignedByte() |
readUnsignedShort | readUnsignedShort() | int readUnsignedShort() |
readUTF | readUTF() | String readUTF() |
seek | seek(pos) | void seek(long pos) |
setLength | setLength(newLength) | void setLength(long newLength) |
skipBytes | skipBytes(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) |
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) | void writeChars(String s) |
writeDouble | writeDouble(v) | void writeDouble(double v) |
writeFloat | writeFloat(v) | void writeFloat(float v) |
writeInt | writeInt(v) | void writeInt(int v) |
writeLong | writeLong(v) | void writeLong(long v) |
writeShort | writeShort(v) | void writeShort(int v) |
writeUTF | writeUTF(str) | void writeUTF(String str) |
The methods and fields of Object are inherited.
Reader#
abstract · extends Object · java.io.Reader
Implements: Readable, Closeable
Methods
| Method | Ring call | Java 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) |
close | close() | void close() |
mark | mark(readAheadLimit) | void mark(int readAheadLimit) |
markSupported | markSupported() | boolean markSupported() |
nullReader | nullReader() | static Reader nullReader() |
of | of(cs) | static Reader of(CharSequence cs) |
read | read() | int read() |
readAllAsString | readAllAsString() | String readAllAsString() |
readAllLines | readAllLines() | List readAllLines() |
ready | ready() | boolean ready() |
reset | reset() | void reset() |
skip | skip(n) | long skip(long n) |
transferTo | transferTo(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
| Name | Type | Access | In Ring |
|---|---|---|---|
ttype | int | read, write | o.ttype o.ttype = v |
TT_EOF | int | constant · static | o.TT_EOF |
TT_EOL | int | constant · static | o.TT_EOL |
TT_NUMBER | int | constant · static | o.TT_NUMBER |
TT_WORD | int | constant · static | o.TT_WORD |
sval | String | read, write | o.sval o.sval = v |
nval | double | read, write | o.nval o.nval = v |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
commentChar | commentChar(ch) | void commentChar(int ch) |
eolIsSignificant | eolIsSignificant(flag) | void eolIsSignificant(boolean flag) |
lineno | lineno() | int lineno() |
lowerCaseMode | lowerCaseMode(fl) | void lowerCaseMode(boolean fl) |
nextToken | nextToken() | int nextToken() |
ordinaryChar | ordinaryChar(ch) | void ordinaryChar(int ch) |
ordinaryChars | ordinaryChars(low,hi) | void ordinaryChars(int low, int hi) |
parseNumbers | parseNumbers() | void parseNumbers() |
pushBack | pushBack() | void pushBack() |
quoteChar | quoteChar(ch) | void quoteChar(int ch) |
resetSyntax | resetSyntax() | void resetSyntax() |
slashSlashComments | slashSlashComments(flag) | void slashSlashComments(boolean flag) |
slashStarComments | slashStarComments(flag) | void slashStarComments(boolean flag) |
whitespaceChars | whitespaceChars(low,hi) | void whitespaceChars(int low, int hi) |
wordChars | wordChars(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
| Method | Ring call | Java overloads |
|---|---|---|
getBuffer | getBuffer() | 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
| Name | Type | Access | In Ring |
|---|---|---|---|
detail | Exception | read, write | o.detail o.detail = v |
The methods and fields of ObjectStreamException are inherited.
Writer#
abstract · extends Object · java.io.Writer
Implements: Appendable, Closeable, Flushable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
append | append(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) |
close | close() | void close() |
flush | flush() | void flush() |
nullWriter | nullWriter() | static Writer nullWriter() |
write | write(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.