|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use IOException |
|
Provides for system input and output through data streams,
serialization and the file system.
|
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
|
Provides classes and interfaces that deal with editable and noneditable text
components.
|
|
Provides the class HTMLEditorKit and supporting classes for creating
HTML text editors.
|
Uses of IOException in java.io |
Subclasses of IOException in java.io |
|
class |
Base class for character conversion exceptions.
|
class |
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
class |
Signals that an I/O operation has been interrupted.
|
class |
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
Indicates that one or more deserialized objects failed validation
tests.
|
class |
Thrown when serialization or deserialization is not active.
|
class |
Thrown when an instance is required to have a Serializable interface.
|
abstract class |
Superclass of all exceptions specific to Object Stream classes.
|
class |
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
Signals that a sync operation has failed.
|
class |
The Character Encoding is not supported.
|
class |
Signals that a malformed string in
modified UTF-8
format has been read in a data
input stream or by any class that implements the data input
interface.
|
class |
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
Methods in java.io that return IOException |
|
UncheckedIOException.getCause()
Returns the cause of this exception.
|
Methods in java.io that throw IOException |
|
int |
BufferedInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
void |
BufferedInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
int |
BufferedInputStream.read()
See
the general contract of the read
method of InputStream.
|
int |
BufferedInputStream.read(byte[] b, int off, int len)
Reads bytes from this byte-input stream into the specified byte array,
starting at the given offset.
|
void |
BufferedInputStream.reset()
See the general contract of the reset
method of InputStream.
|
long |
BufferedInputStream.skip(long n)
See the general contract of the skip
method of InputStream.
|
void |
BufferedOutputStream.flush()
Flushes this buffered output stream.
|
void |
BufferedOutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to this buffered output stream.
|
void |
BufferedOutputStream.write(int b)
Writes the specified byte to this buffered output stream.
|
void |
BufferedReader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
BufferedReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
BufferedReader.read()
Reads a single character.
|
int |
BufferedReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
BufferedReader.readLine()
Reads a line of text.
|
|
boolean |
BufferedReader.ready()
Tells whether this stream is ready to be read.
|
void |
BufferedReader.reset()
Resets the stream to the most recent mark.
|
long |
BufferedReader.skip(long n)
Skips characters.
|
void |
BufferedWriter.close()
Closes the stream, flushing it first.
|
void |
BufferedWriter.flush()
Flushes the stream.
|
void |
BufferedWriter.newLine()
Writes a line separator.
|
void |
BufferedWriter.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
BufferedWriter.write(int c)
Writes a single character.
|
void |
Writes a portion of a String.
|
void |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect.
|
long |
ByteArrayInputStream.transferTo(OutputStream out)
Reads all bytes from this input stream and writes the bytes to the
given output stream in the order that they are read.
|
void |
ByteArrayOutputStream.close()
Closing a ByteArrayOutputStream has no effect.
|
void |
ByteArrayOutputStream.writeTo(OutputStream out)
Writes the complete contents of this ByteArrayOutputStream to
the specified output stream argument, as if by calling the output
stream's write method using out.write(buf, 0, count).
|
void |
CharArrayReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
CharArrayReader.read()
Reads a single character.
|
int |
CharArrayReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
CharArrayReader.read(CharBuffer target)
Attempts to read characters into the specified character buffer.
|
boolean |
CharArrayReader.ready()
Tells whether this stream is ready to be read.
|
void |
CharArrayReader.reset()
Resets the stream to the most recent mark, or to the beginning if it has
never been marked.
|
long |
CharArrayReader.skip(long n)
Skips characters.
|
void |
Writes the contents of the buffer to another character stream.
|
void |
Closeable.close()
Closes this stream and releases any system resources associated
with it.
|
boolean |
DataInput.readBoolean()
Reads one input byte and returns
true if that byte is nonzero,
false if that byte is zero.
|
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
DataInput.readChar()
Reads two input bytes and returns a char value.
|
double |
DataInput.readDouble()
Reads eight input bytes and returns
a double value.
|
float |
DataInput.readFloat()
Reads four input bytes and returns
a float value.
|
void |
DataInput.readFully(byte[] b)
Reads some bytes from an input
stream and stores them into the buffer
array b.
|
void |
DataInput.readFully(byte[] b, int off, int len)
Reads len
bytes from
an input stream.
|
int |
DataInput.readInt()
Reads four input bytes and returns an
int value.
|
DataInput.readLine()
Reads the next line of text from the input stream.
|
|
long |
DataInput.readLong()
Reads eight input bytes and returns
a long value.
|
short |
DataInput.readShort()
Reads two input bytes and returns
a short value.
|
int |
DataInput.readUnsignedByte()
Reads one input byte, zero-extends
it to type int, and returns
the result, which is therefore in the range
0
through 255.
|
int |
DataInput.readUnsignedShort()
Reads two input bytes and returns
an int value in the range 0
through 65535.
|
DataInput.readUTF()
Reads in a string that has been encoded using a
modified UTF-8
format.
|
|
int |
DataInput.skipBytes(int n)
Makes an attempt to skip over
n bytes
of data from the input
stream, discarding the skipped bytes.
|
final int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and
stores them into the buffer array b.
|
final int |
DataInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from the contained
input stream into an array of bytes.
|
final boolean |
DataInputStream.readBoolean()
See the general contract of the readBoolean
method of DataInput.
|
final byte |
DataInputStream.readByte()
See the general contract of the readByte
method of DataInput.
|
final char |
DataInputStream.readChar()
See the general contract of the readChar
method of DataInput.
|
final double |
DataInputStream.readDouble()
See the general contract of the readDouble
method of DataInput.
|
final float |
DataInputStream.readFloat()
See the general contract of the readFloat
method of DataInput.
|
final void |
DataInputStream.readFully(byte[] b)
See the general contract of the readFully
method of DataInput.
|
final void |
DataInputStream.readFully(byte[] b, int off, int len)
See the general contract of the readFully
method of DataInput.
|
final int |
DataInputStream.readInt()
See the general contract of the readInt
method of DataInput.
|
final String |
DataInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters.
|
final long |
DataInputStream.readLong()
See the general contract of the readLong
method of DataInput.
|
final short |
DataInputStream.readShort()
See the general contract of the readShort
method of DataInput.
|
final int |
DataInputStream.readUnsignedByte()
See the general contract of the readUnsignedByte
method of DataInput.
|
final int |
DataInputStream.readUnsignedShort()
See the general contract of the readUnsignedShort
method of DataInput.
|
final String |
DataInputStream.readUTF()
See the general contract of the readUTF
method of DataInput.
|
static final String |
Reads from the
stream in a representation
of a Unicode character string encoded in
modified UTF-8 format;
this string of characters is then returned as a String.
|
final int |
DataInputStream.skipBytes(int n)
See the general contract of the skipBytes
method of DataInput.
|
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array b.
|
void |
DataOutput.write(byte[] b, int off, int len)
Writes len bytes from array
b, in order, to
the output stream.
|
void |
DataOutput.write(int b)
Writes to the output stream the eight
low-order bits of the argument b.
|
void |
DataOutput.writeBoolean(boolean v)
Writes a boolean value to this output stream.
|
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low-order
bits of the argument v.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
DataOutput.writeChar(int v)
Writes a char value, which
is comprised of two bytes, to the
output stream.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string s,
to the output stream, in order,
two bytes per character.
|
void |
DataOutput.writeDouble(double v)
Writes a double value,
which is comprised of eight bytes, to the output stream.
|
void |
DataOutput.writeFloat(float v)
Writes a float value,
which is comprised of four bytes, to the output stream.
|
void |
DataOutput.writeInt(int v)
Writes an int value, which is
comprised of four bytes, to the output stream.
|
void |
DataOutput.writeLong(long v)
Writes a long value, which is
comprised of eight bytes, to the output stream.
|
void |
DataOutput.writeShort(int v)
Writes two bytes to the output
stream to represent the value of the argument.
|
void |
Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string s.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
void |
DataOutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to the underlying output stream.
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b) to the underlying output stream.
|
final void |
DataOutputStream.writeBoolean(boolean v)
Writes a boolean to the underlying output stream as
a 1-byte value.
|
final void |
DataOutputStream.writeByte(int v)
Writes out a byte to the underlying output stream as
a 1-byte value.
|
final void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
final void |
DataOutputStream.writeChar(int v)
Writes a char to the underlying output stream as a
2-byte value, high byte first.
|
final void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
final void |
DataOutputStream.writeDouble(double v)
Converts the double argument to a long using the
doubleToLongBits method in class Double,
and then writes that long value to the underlying
output stream as an 8-byte quantity, high byte first.
|
final void |
DataOutputStream.writeFloat(float v)
Converts the float argument to an int using the
floatToIntBits method in class Float,
and then writes that int value to the underlying
output stream as a 4-byte quantity, high byte first.
|
final void |
DataOutputStream.writeInt(int v)
Writes an int to the underlying output stream as four
bytes, high byte first.
|
final void |
DataOutputStream.writeLong(long v)
Writes a long to the underlying output stream as eight
bytes, high byte first.
|
final void |
DataOutputStream.writeShort(int v)
Writes a short to the underlying output stream as two
bytes, high byte first.
|
final void |
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
|
void |
Externalizable.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
void |
Externalizable.writeExternal(ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
boolean |
File.createNewFile()
Atomically creates a new, empty file named by this abstract pathname if
and only if a file with this name does not yet exist.
|
static File |
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
File.getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
|
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
|
int |
FileInputStream.available()
Returns an estimate of the number of remaining bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
void |
FileInputStream.close()
Closes this file input stream and releases any system resources
associated with the stream.
|
final FileDescriptor |
FileInputStream.getFD()
Returns the FileDescriptor
object that represents the connection to
the actual file in the file system being
used by this FileInputStream.
|
int |
FileInputStream.read()
Reads a byte of data from this input stream.
|
int |
FileInputStream.read(byte[] b)
Reads up to b.length bytes of data from this input
stream into an array of bytes.
|
int |
FileInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream
into an array of bytes.
|
byte[] |
FileInputStream.readAllBytes()
Reads all remaining bytes from the input stream.
|
byte[] |
FileInputStream.readNBytes(int len)
Reads up to a specified number of bytes from the input stream.
|
long |
FileInputStream.skip(long n)
Skips over and discards n bytes of data from the
input stream.
|
void |
FileOutputStream.close()
Closes this file output stream and releases any system resources
associated with this stream.
|
final FileDescriptor |
FileOutputStream.getFD()
Returns the file descriptor associated with this stream.
|
void |
FileOutputStream.write(byte[] b)
Writes b.length bytes from the specified byte array
to this file output stream.
|
void |
FileOutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to this file output stream.
|
void |
FileOutputStream.write(int b)
Writes the specified byte to this file output stream.
|
int |
FilterInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
caller of a method for this input stream.
|
void |
FilterInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
int |
FilterInputStream.read()
Reads the next byte of data from this input stream.
|
int |
FilterInputStream.read(byte[] b)
Reads up to b.length bytes of data from this
input stream into an array of bytes.
|
int |
FilterInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream
into an array of bytes.
|
void |
FilterInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
long |
FilterInputStream.skip(long n)
Skips over and discards n bytes of data from the
input stream.
|
void |
FilterOutputStream.close()
Closes this output stream and releases any system resources
associated with the stream.
|
void |
FilterOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out to the stream.
|
void |
FilterOutputStream.write(byte[] b)
Writes b.length bytes to this output stream.
|
void |
FilterOutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified
byte array starting at offset off to
this output stream.
|
void |
FilterOutputStream.write(int b)
Writes the specified byte to this output stream.
|
void |
FilterReader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
FilterReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
FilterReader.read()
Reads a single character.
|
int |
FilterReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
boolean |
FilterReader.ready()
Tells whether this stream is ready to be read.
|
void |
FilterReader.reset()
Resets the stream.
|
long |
FilterReader.skip(long n)
Skips characters.
|
void |
FilterWriter.close()
Closes the stream, flushing it first.
|
void |
FilterWriter.flush()
Flushes the stream.
|
void |
FilterWriter.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
FilterWriter.write(int c)
Writes a single character.
|
void |
Writes a portion of a string.
|
void |
Flushable.flush()
Flushes this stream by writing any buffered output to the underlying
stream.
|
int |
InputStream.available()
Returns an estimate of the number of bytes that can be read (or skipped
over) from this input stream without blocking, which may be 0, or 0 when
end of stream is detected.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated
with the stream.
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into
the buffer array b.
|
int |
InputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from the input stream into
an array of bytes.
|
byte[] |
InputStream.readAllBytes()
Reads all remaining bytes from the input stream.
|
int |
InputStream.readNBytes(byte[] b, int off, int len)
Reads the requested number of bytes from the input stream into the given
byte array.
|
byte[] |
InputStream.readNBytes(int len)
Reads up to a specified number of bytes from the input stream.
|
void |
InputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
long |
InputStream.skip(long n)
Skips over and discards n bytes of data from this input
stream.
|
void |
InputStream.skipNBytes(long n)
Skips over and discards exactly n bytes of data from this input
stream.
|
long |
InputStream.transferTo(OutputStream out)
Reads all bytes from this input stream and writes the bytes to the
given output stream in the order that they are read.
|
void |
InputStreamReader.close()
Closes the stream and releases any system resources associated with
it.
|
int |
InputStreamReader.read()
Reads a single character.
|
int |
InputStreamReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
InputStreamReader.read(CharBuffer target)
Attempts to read characters into the specified character buffer.
|
boolean |
InputStreamReader.ready()
Tells whether this stream is ready to be read.
|
int |
LineNumberInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
LineNumberInputStream.read()
Reads the next byte of data from this input stream.
|
int |
LineNumberInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream
into an array of bytes.
|
void |
LineNumberInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
long |
LineNumberInputStream.skip(long n)
Skips over and discards n bytes of data from this
input stream.
|
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
LineNumberReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
LineNumberReader.readLine()
Read a line of text.
|
|
void |
LineNumberReader.reset()
Reset the stream to the most recent mark.
|
long |
LineNumberReader.skip(long n)
Skips characters.
|
int |
ObjectInput.available()
Returns the number of bytes that can be read
without blocking.
|
void |
ObjectInput.close()
Closes the input stream.
|
int |
ObjectInput.read()
Reads a byte of data.
|
int |
ObjectInput.read(byte[] b)
Reads into an array of bytes.
|
int |
ObjectInput.read(byte[] b, int off, int len)
Reads into an array of bytes.
|
ObjectInput.readObject()
Read and return an object.
|
|
long |
ObjectInput.skip(long n)
Skips n bytes of input.
|
int |
ObjectInputStream.available()
Returns the number of bytes that can be read without blocking.
|
void |
ObjectInputStream.close()
Closes the input stream.
|
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from
this stream.
|
int |
ObjectInputStream.read()
Reads a byte of data.
|
int |
ObjectInputStream.read(byte[] buf, int off, int len)
Reads into an array of bytes.
|
boolean |
ObjectInputStream.readBoolean()
Reads in a boolean.
|
byte |
ObjectInputStream.readByte()
Reads an 8 bit byte.
|
char |
ObjectInputStream.readChar()
Reads a 16 bit char.
|
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.
|
double |
ObjectInputStream.readDouble()
Reads a 64 bit double.
|
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by
name.
|
|
float |
ObjectInputStream.readFloat()
Reads a 32 bit float.
|
void |
ObjectInputStream.readFully(byte[] buf)
Reads bytes, blocking until all bytes are read.
|
void |
ObjectInputStream.readFully(byte[] buf, int off, int len)
Reads bytes, blocking until all bytes are read.
|
int |
ObjectInputStream.readInt()
Reads a 32 bit int.
|
ObjectInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters.
|
|
long |
ObjectInputStream.readLong()
Reads a 64 bit long.
|
final Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream.
|
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectInputStream that
constructed ObjectInputStream using the protected no-arg constructor.
|
short |
ObjectInputStream.readShort()
Reads a 16 bit short.
|
protected void |
ObjectInputStream.readStreamHeader()
The readStreamHeader method is provided to allow subclasses to read and
verify their own stream headers.
|
ObjectInputStream.readUnshared()
Reads an "unshared" object from the ObjectInputStream.
|
|
int |
ObjectInputStream.readUnsignedByte()
Reads an unsigned 8 bit byte.
|
int |
ObjectInputStream.readUnsignedShort()
Reads an unsigned 16 bit short.
|
ObjectInputStream.readUTF()
Reads a String in
modified UTF-8
format.
|
|
protected Class<?> |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class
description.
|
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to
substitute one object for another during deserialization.
|
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy
class descriptor; subclasses may implement this method to read custom
data from the stream along with the descriptors for dynamic proxy
classes, allowing them to use an alternate loading mechanism for the
interfaces and the proxy class.
|
int |
ObjectInputStream.skipBytes(int len)
Skips bytes.
|
abstract boolean |
Return true if the named field is defaulted and has no value in this
stream.
|
abstract boolean |
Get the value of the named boolean field from the persistent field.
|
abstract byte |
Get the value of the named byte field from the persistent field.
|
abstract char |
Get the value of the named char field from the persistent field.
|
abstract double |
Get the value of the named double field from the persistent field.
|
abstract float |
Get the value of the named float field from the persistent field.
|
abstract int |
Get the value of the named int field from the persistent field.
|
abstract long |
Get the value of the named long field from the persistent field.
|
abstract Object |
Get the value of the named Object field from the persistent field.
|
abstract short |
Get the value of the named short field from the persistent field.
|
void |
ObjectOutput.close()
Closes the stream.
|
void |
ObjectOutput.flush()
Flushes the stream.
|
void |
ObjectOutput.write(byte[] b)
Writes an array of bytes.
|
void |
ObjectOutput.write(byte[] b, int off, int len)
Writes a sub array of bytes.
|
void |
ObjectOutput.write(int b)
Writes a byte.
|
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream.
|
protected void |
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in
the stream.
|
protected void |
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream
along with descriptors for dynamic proxy classes.
|
void |
ObjectOutputStream.close()
Closes the stream.
|
void |
ObjectOutputStream.defaultWriteObject()
Write the non-static and non-transient fields of the current class to
this stream.
|
protected void |
ObjectOutputStream.drain()
Drain any buffered data in ObjectOutputStream.
|
void |
ObjectOutputStream.flush()
Flushes the stream.
|
ObjectOutputStream.putFields()
Retrieve the object used to buffer persistent fields to be written to
the stream.
|
|
protected Object |
ObjectOutputStream.replaceObject(Object obj)
This method will allow trusted subclasses of ObjectOutputStream to
substitute one object for another during serialization.
|
void |
ObjectOutputStream.reset()
Reset will disregard the state of any objects already written to the
stream.
|
void |
ObjectOutputStream.useProtocolVersion(int version)
Specify stream protocol version to use when writing the stream.
|
void |
ObjectOutputStream.write(byte[] buf)
Writes an array of bytes.
|
void |
ObjectOutputStream.write(byte[] buf, int off, int len)
Writes a sub array of bytes.
|
void |
ObjectOutputStream.write(int val)
Writes a byte.
|
void |
ObjectOutputStream.writeBoolean(boolean val)
Writes a boolean.
|
void |
ObjectOutputStream.writeByte(int val)
Writes an 8 bit byte.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
ObjectOutputStream.writeChar(int val)
Writes a 16 bit char.
|
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
protected void |
ObjectOutputStream.writeClassDescriptor(ObjectStreamClass desc)
Write the specified class descriptor to the ObjectOutputStream.
|
void |
ObjectOutputStream.writeDouble(double val)
Writes a 64 bit double.
|
void |
ObjectOutputStream.writeFields()
Write the buffered fields to the stream.
|
void |
ObjectOutputStream.writeFloat(float val)
Writes a 32 bit float.
|
void |
ObjectOutputStream.writeInt(int val)
Writes a 32 bit int.
|
void |
ObjectOutputStream.writeLong(long val)
Writes a 64 bit long.
|
final void |
ObjectOutputStream.writeObject(Object obj)
Write the specified object to the ObjectOutputStream.
|
protected void |
ObjectOutputStream.writeObjectOverride(Object obj)
Method used by subclasses to override the default writeObject method.
|
void |
ObjectOutputStream.writeShort(int val)
Writes a 16 bit short.
|
protected void |
ObjectOutputStream.writeStreamHeader()
The writeStreamHeader method is provided so subclasses can append or
prepend their own header to the stream.
|
void |
ObjectOutputStream.writeUnshared(Object obj)
Writes an "unshared" object to the ObjectOutputStream.
|
void |
Primitive data write of this String in
modified UTF-8
format.
|
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out)
Deprecated. This method does not write the values contained by this
PutField object in a proper format, and may
result in corruption of the serialization stream.
|
void |
OutputStream.close()
Closes this output stream and releases any system resources
associated with this stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
OutputStream.write(byte[] b)
Writes b.length bytes from the specified byte array
to this output stream.
|
void |
OutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to this output stream.
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream.
|
OutputStreamWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
|
OutputStreamWriter.append(CharSequence csq, int start, int end)
Appends a subsequence of the specified character sequence to this writer.
|
|
void |
OutputStreamWriter.close()
Closes the stream, flushing it first.
|
void |
OutputStreamWriter.flush()
Flushes the stream.
|
void |
OutputStreamWriter.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
OutputStreamWriter.write(int c)
Writes a single character.
|
void |
Writes a portion of a string.
|
int |
PipedInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
void |
PipedInputStream.close()
Closes this piped input stream and releases any system resources
associated with the stream.
|
void |
PipedInputStream.connect(PipedOutputStream src)
Causes this piped input stream to be connected
to the piped output stream src.
|
int |
PipedInputStream.read()
Reads the next byte of data from this piped input stream.
|
int |
PipedInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this piped input
stream into an array of bytes.
|
protected void |
PipedInputStream.receive(int b)
Receives a byte of data.
|
void |
PipedOutputStream.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
PipedOutputStream.connect(PipedInputStream snk)
Connects this piped output stream to a receiver.
|
void |
PipedOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
PipedOutputStream.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to this piped output stream.
|
void |
PipedOutputStream.write(int b)
Writes the specified byte to the piped output stream.
|
void |
PipedReader.close()
Closes this piped stream and releases any system resources
associated with the stream.
|
void |
PipedReader.connect(PipedWriter src)
Causes this piped reader to be connected
to the piped writer src.
|
int |
PipedReader.read()
Reads the next character of data from this piped stream.
|
int |
PipedReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
boolean |
PipedReader.ready()
Tell whether this stream is ready to be read.
|
void |
PipedWriter.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
PipedWriter.connect(PipedReader snk)
Connects this piped writer to a receiver.
|
void |
PipedWriter.flush()
Flushes this output stream and forces any buffered output characters
to be written out.
|
void |
PipedWriter.write(char[] cbuf, int off, int len)
Writes len characters from the specified character array
starting at offset off to this piped output stream.
|
void |
PipedWriter.write(int c)
Writes the specified char to the piped output stream.
|
void |
PrintStream.write(byte[] buf)
Writes all bytes from the specified byte array to this stream.
|
int |
PushbackInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
void |
PushbackInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
int |
PushbackInputStream.read()
Reads the next byte of data from this input stream.
|
int |
PushbackInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream into
an array of bytes.
|
void |
PushbackInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
long |
PushbackInputStream.skip(long n)
Skips over and discards n bytes of data from this
input stream.
|
void |
PushbackInputStream.unread(byte[] b)
Pushes back an array of bytes by copying it to the front of the
pushback buffer.
|
void |
PushbackInputStream.unread(byte[] b, int off, int len)
Pushes back a portion of an array of bytes by copying it to the front
of the pushback buffer.
|
void |
PushbackInputStream.unread(int b)
Pushes back a byte by copying it to the front of the pushback buffer.
|
void |
PushbackReader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
PushbackReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
PushbackReader.read()
Reads a single character.
|
int |
PushbackReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
boolean |
PushbackReader.ready()
Tells whether this stream is ready to be read.
|
void |
PushbackReader.reset()
Resets the stream.
|
long |
PushbackReader.skip(long n)
Skips characters.
|
void |
PushbackReader.unread(char[] cbuf)
Pushes back an array of characters by copying it to the front of the
pushback buffer.
|
void |
PushbackReader.unread(char[] cbuf, int off, int len)
Pushes back a portion of an array of characters by copying it to the
front of the pushback buffer.
|
void |
PushbackReader.unread(int c)
Pushes back a single character by copying it to the front of the
pushback buffer.
|
void |
RandomAccessFile.close()
Closes this random access file stream and releases any system
resources associated with the stream.
|
final FileDescriptor |
RandomAccessFile.getFD()
Returns the opaque file descriptor object associated with this
stream.
|
long |
RandomAccessFile.getFilePointer()
Returns the current offset in this file.
|
long |
RandomAccessFile.length()
Returns the length of this file.
|
int |
RandomAccessFile.read()
Reads a byte of data from this file.
|
int |
RandomAccessFile.read(byte[] b)
Reads up to b.length bytes of data from this file
into an array of bytes.
|
int |
RandomAccessFile.read(byte[] b, int off, int len)
Reads up to len bytes of data from this file into an
array of bytes.
|
final boolean |
RandomAccessFile.readBoolean()
Reads a boolean from this file.
|
final byte |
RandomAccessFile.readByte()
Reads a signed eight-bit value from this file.
|
final char |
RandomAccessFile.readChar()
Reads a character from this file.
|
final double |
RandomAccessFile.readDouble()
Reads a double from this file.
|
final float |
RandomAccessFile.readFloat()
Reads a float from this file.
|
final void |
RandomAccessFile.readFully(byte[] b)
Reads b.length bytes from this file into the byte
array, starting at the current file pointer.
|
final void |
RandomAccessFile.readFully(byte[] b, int off, int len)
Reads exactly len bytes from this file into the byte
array, starting at the current file pointer.
|
final int |
RandomAccessFile.readInt()
Reads a signed 32-bit integer from this file.
|
final String |
RandomAccessFile.readLine()
Reads the next line of text from this file.
|
final long |
RandomAccessFile.readLong()
Reads a signed 64-bit integer from this file.
|
final short |
RandomAccessFile.readShort()
Reads a signed 16-bit number from this file.
|
final int |
RandomAccessFile.readUnsignedByte()
Reads an unsigned eight-bit number from this file.
|
final int |
RandomAccessFile.readUnsignedShort()
Reads an unsigned 16-bit number from this file.
|
final String |
RandomAccessFile.readUTF()
Reads in a string from this file.
|
void |
RandomAccessFile.seek(long pos)
Sets the file-pointer offset, measured from the beginning of this
file, at which the next read or write occurs.
|
void |
RandomAccessFile.setLength(long newLength)
Sets the length of this file.
|
int |
RandomAccessFile.skipBytes(int n)
Attempts to skip over n bytes of input discarding the
skipped bytes.
|
void |
RandomAccessFile.write(byte[] b)
Writes b.length bytes from the specified byte array
to this file, starting at the current file pointer.
|
void |
RandomAccessFile.write(byte[] b, int off, int len)
Writes len bytes from the specified byte array
starting at offset off to this file.
|
void |
RandomAccessFile.write(int b)
Writes the specified byte to this file.
|
final void |
RandomAccessFile.writeBoolean(boolean v)
Writes a boolean to the file as a one-byte value.
|
final void |
RandomAccessFile.writeByte(int v)
Writes a byte to the file as a one-byte value.
|
final void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
final void |
RandomAccessFile.writeChar(int v)
Writes a char to the file as a two-byte value, high
byte first.
|
final void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters.
|
final void |
RandomAccessFile.writeDouble(double v)
Converts the double argument to a long using the
doubleToLongBits method in class Double,
and then writes that long value to the file as an
eight-byte quantity, high byte first.
|
final void |
RandomAccessFile.writeFloat(float v)
Converts the float argument to an int using the
floatToIntBits method in class Float,
and then writes that int value to the file as a
four-byte quantity, high byte first.
|
final void |
RandomAccessFile.writeInt(int v)
Writes an int to the file as four bytes, high byte first.
|
final void |
RandomAccessFile.writeLong(long v)
Writes a long to the file as eight bytes, high byte first.
|
final void |
RandomAccessFile.writeShort(int v)
Writes a short to the file as two bytes, high byte first.
|
final void |
Writes a string to the file using
modified UTF-8
encoding in a machine-independent manner.
|
abstract void |
Reader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
Reader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
Reader.read()
Reads a single character.
|
int |
Reader.read(char[] cbuf)
Reads characters into an array.
|
abstract int |
Reader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
int |
Reader.read(CharBuffer target)
Attempts to read characters into the specified character buffer.
|
boolean |
Reader.ready()
Tells whether this stream is ready to be read.
|
void |
Reader.reset()
Resets the stream.
|
long |
Reader.skip(long n)
Skips characters.
|
long |
Reader.transferTo(Writer out)
Reads all characters from this reader and writes the characters to the
given writer in the order that they are read.
|
int |
SequenceInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from the current underlying input stream without
blocking by the next invocation of a method for the current
underlying input stream.
|
void |
SequenceInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
int |
SequenceInputStream.read()
Reads the next byte of data from this input stream.
|
int |
SequenceInputStream.read(byte[] b, int off, int len)
Reads up to len bytes of data from this input stream
into an array of bytes.
|
int |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer.
|
void |
StringReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
int |
StringReader.read()
Reads a single character.
|
int |
StringReader.read(char[] cbuf, int off, int len)
Reads characters into a portion of an array.
|
boolean |
StringReader.ready()
Tells whether this stream is ready to be read.
|
void |
StringReader.reset()
Resets the stream to the most recent mark, or to the beginning of the
string if it has never been marked.
|
long |
StringReader.skip(long n)
Skips characters.
|
void |
StringWriter.close()
Closing a StringWriter has no effect.
|
Writer.append(char c)
Appends the specified character to this writer.
|
|
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
|
Writer.append(CharSequence csq, int start, int end)
Appends a subsequence of the specified character sequence to this writer.
|
|
abstract void |
Writer.close()
Closes the stream, flushing it first.
|
abstract void |
Writer.flush()
Flushes the stream.
|
void |
Writer.write(char[] cbuf)
Writes an array of characters.
|
abstract void |
Writer.write(char[] cbuf, int off, int len)
Writes a portion of an array of characters.
|
void |
Writer.write(int c)
Writes a single character.
|
void |
Writes a string.
|
void |
Writes a portion of a string.
|
Constructors in java.io with parameters of type IOException |
|
UncheckedIOException(IOException cause)
Constructs an instance of this class.
|
|
Constructs an instance of this class.
|
Uses of IOException in java.lang |
Methods in java.lang that throw IOException |
|
Appendable.append(char c)
Appends the specified character to this Appendable.
|
|
Appendable.append(CharSequence csq)
Appends the specified character sequence to this Appendable.
|
|
Appendable.append(CharSequence csq, int start, int end)
Appends a subsequence of the specified character sequence to this
Appendable.
|
|
protected URL |
Returns a URL to a resource in a module defined to this class loader.
|
protected Enumeration<URL> |
ClassLoader.findResources(String name)
Returns an enumeration of URL objects
representing all the resources with the given name.
|
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
|
static Enumeration<URL> |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
Module.getResourceAsStream(String name)
Returns an input stream for reading a resource in this module.
|
|
ProcessBuilder.start()
Starts a new process using the attributes of this process builder.
|
|
Starts a Process for each ProcessBuilder, creating a pipeline of
processes linked by their standard output and standard input streams.
|
|
int |
Readable.read(CharBuffer cb)
Attempts to read characters into the specified character buffer.
|
Executes the specified string command in a separate process.
|
|
Executes the specified string command in a separate process with the
specified environment.
|
|
Executes the specified string command in a separate process with the
specified environment and working directory.
|
|
Executes the specified command and arguments in a separate process.
|
|
Executes the specified command and arguments in a separate process
with the specified environment.
|
|
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
|
static Channel |
System.inheritedChannel()
Returns the channel inherited from the entity that created this
Java virtual machine.
|
Uses of IOException in java.util |
Subclasses of IOException in java.util |
|
class |
Thrown to indicate that an operation could not complete because
the input did not conform to the appropriate XML document type
for a collection of properties, as per the Properties
specification.
|
Methods in java.util that return IOException |
|
Formatter.ioException()
Returns the IOException last thrown by this formatter's Appendable.
|
|
Scanner.ioException()
Returns the IOException last thrown by this
Scanner's underlying Readable.
|
Methods in java.util that throw IOException |
|
void |
Properties.load(InputStream inStream)
Reads a property list (key and element pairs) from the input
byte stream.
|
void |
Reads a property list (key and element pairs) from the input
character stream in a simple line-oriented format.
|
void |
Properties.loadFromXML(InputStream in)
Loads all of the properties represented by the XML document on the
specified input stream into this properties table.
|
void |
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load(InputStream) method.
|
void |
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a
format suitable for using the load(Reader)
method.
|
void |
Emits an XML document representing all of the properties contained
in this table.
|
void |
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
|
void |
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
|
ResourceBundle.Control.newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
Uses of IOException in javax.swing.text |
Methods in javax.swing.text that throw IOException |
|
void |
Initializes from a stream.
|
void |
Stores the contents of the model into the given
stream.
|
Uses of IOException in javax.swing.text.html |
Methods in javax.swing.text.html that throw IOException |
|
void |
Inserts the HTML specified as a string after the end of the
given element.
|
void |
Inserts the HTML specified as a string at the start
of the element.
|
void |
Inserts the HTML specified as a string at the end of
the element.
|
void |
Inserts the HTML specified as a string before the start of
the given element.
|
void |
Replaces the children of the given element with the contents
specified as an HTML string.
|
void |
Replaces the given element in the parent with the contents
specified as an HTML string.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |