|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IOException | |
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
| java.awt.color | Provides classes for color spaces. |
| java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
| java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| java.beans | Contains classes related to Java Beans development. |
| java.beans.beancontext | Provides classes and interfaces relating to bean context. |
| java.io | Provides for system input and output through data streams, serialization and the file system. |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.net | Provides the classes for implementing networking applications. |
| java.rmi | Provides the RMI package. |
| java.rmi.activation | Provides support for RMI Object Activation. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
| java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
| javax.sound.midi.spi | Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. |
| javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
| javax.sound.sampled.spi | Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.filechooser | Contains classes and interfaces used by the JFileChooser component. |
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
| javax.swing.text.html | Provides the class HTMLEditorKit and supporting classes
for creating HTML text editors. |
| javax.swing.text.html.parser | Provides the default HTML parser, along with support classes. |
| javax.swing.text.rtf | Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors. |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| Uses of IOException in java.awt |
| Methods in java.awt that throw IOException | |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k)
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l)
|
static Font |
Font.createFont(int fontFormat,
InputStream fontStream)
Returns a new Font with the specified font type
and input data. |
| Uses of IOException in java.awt.color |
| Methods in java.awt.color that throw IOException | |
static ICC_Profile |
ICC_Profile.getInstance(String fileName)
Constructs an ICC_Profile corresponding to the data in a file. |
static ICC_Profile |
ICC_Profile.getInstance(InputStream s)
Constructs an ICC_Profile corresponding to the data in an InputStream. |
void |
ICC_Profile.write(String fileName)
Write this ICC_Profile to a file. |
void |
ICC_Profile.write(OutputStream s)
Write this ICC_Profile to an OutputStream. |
| Uses of IOException in java.awt.datatransfer |
| Methods in java.awt.datatransfer that throw IOException | |
Object |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred. |
Object |
StringSelection.getTransferData(DataFlavor flavor)
Returns the Transferable's data in the requested DataFlavor if possible. |
Reader |
DataFlavor.getReaderForText(Transferable transferable)
Gets a reader for an input stream, decoded for the expected charset (encoding). |
void |
DataFlavor.writeExternal(ObjectOutput os)
Serialize this DataFlavor |
void |
DataFlavor.readExternal(ObjectInput is)
restore this DataFlavor from an Serialized state |
| Uses of IOException in java.awt.dnd |
| Methods in java.awt.dnd that throw IOException | |
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
get the transfer data |
| Uses of IOException in java.awt.print |
| Methods in java.awt.print that return IOException | |
IOException |
PrinterIOException.getIOException()
Returns the IOException that terminated
the print job. |
| Constructors in java.awt.print with parameters of type IOException | |
PrinterIOException(IOException exception)
Constructs a new PrinterIOException
with the string representation of the specified
IOException. |
|
| Uses of IOException in java.beans |
| Methods in java.beans that throw IOException | |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean. |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean. |
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean. |
| Uses of IOException in java.beans.beancontext |
| Methods in java.beans.beancontext that throw IOException | |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into a BeanContext. |
protected void |
BeanContextSupport.bcsPreSerializationHook(ObjectOutputStream oos)
called by writeObject after defaultWriteObject() but prior to serialization of currently serializable children. |
protected void |
BeanContextSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called by readObject after defaultReadObject() but prior to deserialization of any children. |
protected void |
BeanContextSupport.serialize(ObjectOutputStream oos,
Collection coll)
Used by writeObject to serialize a Collection. |
protected void |
BeanContextSupport.deserialize(ObjectInputStream ois,
Collection coll)
used by readObject to deserialize a collection. |
void |
BeanContextSupport.writeChildren(ObjectOutputStream oos)
Used to serialize all children of this BeanContext. |
void |
BeanContextSupport.readChildren(ObjectInputStream ois)
When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization |
protected void |
BeanContextServicesSupport.bcsPreSerializationHook(ObjectOutputStream oos)
called from BeanContextSupport writeObject before it serializes the children ... |
protected void |
BeanContextServicesSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called from BeanContextSupport readObject before it deserializes the children ... |
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a child of this BeanContext. |
| Uses of IOException in java.io |
| Subclasses of IOException in java.io | |
class |
CharConversionException
Base class for character conversion exceptions. |
class |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input. |
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname has failed. |
class |
InterruptedIOException
Signals that an I/O operation has been interrupted. |
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following problems with a Class. |
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation tests. |
class |
NotActiveException
Thrown when serialization or deserialization is not active. |
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface. |
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes. |
class |
OptionalDataException
Unexpected data appeared in an ObjectInputStream trying to read an Object. |
class |
StreamCorruptedException
Thrown when control information that was read from an object stream violates internal consistency checks. |
class |
SyncFailedException
Signals that a sync operation has failed. |
class |
UnsupportedEncodingException
The Character Encoding is not supported. |
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface. |
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a write operation. |
| Methods in java.io that throw IOException | |
int |
Reader.read()
Read a single character. |
int |
Reader.read(char[] cbuf)
Read characters into an array. |
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
long |
Reader.skip(long n)
Skip characters. |
boolean |
Reader.ready()
Tell whether this stream is ready to be read. |
void |
Reader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
Reader.reset()
Reset the stream. |
abstract void |
Reader.close()
Close the stream. |
int |
FilterReader.read()
Read a single character. |
int |
FilterReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
long |
FilterReader.skip(long n)
Skip characters. |
boolean |
FilterReader.ready()
Tell whether this stream is ready to be read. |
void |
FilterReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
FilterReader.reset()
Reset the stream. |
void |
FilterReader.close()
Close the stream. |
void |
Writer.write(int c)
Write a single character. |
void |
Writer.write(char[] cbuf)
Write an array of characters. |
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters. |
void |
Writer.write(String str)
Write a string. |
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string. |
abstract void |
Writer.flush()
Flush the stream. |
abstract void |
Writer.close()
Close the stream, flushing it first. |
void |
FilterWriter.write(int c)
Write a single character. |
void |
FilterWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters. |
void |
FilterWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
FilterWriter.flush()
Flush the stream. |
void |
FilterWriter.close()
Close 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. |
long |
InputStream.skip(long n)
Skips over and discards n bytes of data from this input
stream. |
int |
InputStream.available()
Returns 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 |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
InputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream. |
int |
FilterInputStream.read()
Reads the next byte of data from this input stream. |
int |
FilterInputStream.read(byte[] b)
Reads up to byte.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. |
long |
FilterInputStream.skip(long n)
Skips over and discards n bytes of data from the
input stream. |
int |
FilterInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking. |
void |
FilterInputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
FilterInputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream. |
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream. |
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. |
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out. |
void |
OutputStream.close()
Closes this output stream and releases any system resources associated with this stream. |
void |
FilterOutputStream.write(int b)
Writes the specified byte to this output 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.flush()
Flushes this output stream and forces any buffered output bytes to be written out to the stream. |
void |
FilterOutputStream.close()
Closes this output 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 up to len characters of data from this piped
stream into an array of characters. |
boolean |
PipedReader.ready()
Tell whether this stream is ready to be read. |
void |
PipedReader.close()
Closes this piped stream and releases any system resources associated with the stream. |
void |
PipedWriter.connect(PipedReader snk)
Connects this piped writer to a receiver. |
void |
PipedWriter.write(int c)
Writes the specified char to the piped output stream. |
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.flush()
Flushes this output stream and forces any buffered output characters to be written out. |
void |
PipedWriter.close()
Closes this piped output stream and releases any system resources associated with this stream. |
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. |
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. |
int |
PushbackReader.read()
Read a single character. |
int |
PushbackReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
void |
PushbackReader.unread(int c)
Push back a single character. |
void |
PushbackReader.unread(char[] cbuf,
int off,
int len)
Push back a portion of an array of characters by copying it to the front of the pushback buffer. |
void |
PushbackReader.unread(char[] cbuf)
Push back an array of characters by copying it to the front of the pushback buffer. |
boolean |
PushbackReader.ready()
Tell whether this stream is ready to be read. |
void |
PushbackReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
PushbackReader.reset()
Reset the stream. |
void |
PushbackReader.close()
Close the stream. |
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument b) to the underlying 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.flush()
Flushes this data output stream. |
void |
DataOutputStream.writeBoolean(boolean v)
Writes a boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeByte(int v)
Writes out a byte to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeShort(int v)
Writes a short to the underlying output stream as two
bytes, high byte first. |
void |
DataOutputStream.writeChar(int v)
Writes a char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutputStream.writeInt(int v)
Writes an int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutputStream.writeLong(long v)
Writes a long to the underlying output stream as eight
bytes, high byte first. |
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. |
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. |
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a sequence of bytes. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters. |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner. |
int |
BufferedReader.read()
Read a single character. |
int |
BufferedReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
String |
BufferedReader.readLine()
Read a line of text. |
long |
BufferedReader.skip(long n)
Skip characters. |
boolean |
BufferedReader.ready()
Tell whether this stream is ready to be read. |
void |
BufferedReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
BufferedReader.reset()
Reset the stream to the most recent mark. |
void |
BufferedReader.close()
Close the stream. |
int |
LineNumberReader.read()
Read a single character. |
int |
LineNumberReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
String |
LineNumberReader.readLine()
Read a line of text. |
long |
LineNumberReader.skip(long n)
Skip characters. |
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
LineNumberReader.reset()
Reset the stream to the most recent mark. |
void |
FileOutputStream.write(int b)
Writes the specified byte to this file output 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.close()
Closes this file output stream and releases any system resources associated with this stream. |
FileDescriptor |
FileOutputStream.getFD()
Returns the file descriptor associated with this stream. |
protected void |
FileOutputStream.finalize()
Cleans up the connection to the file, and ensures that the close method of this file output stream is
called when there are no more references to this stream. |
Object |
ObjectInput.readObject()
Read and return an object. |
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. |
long |
ObjectInput.skip(long n)
Skips n bytes of input. |
int |
ObjectInput.available()
Returns the number of bytes that can be read without blocking. |
void |
ObjectInput.close()
Closes the input stream. |
int |
StringReader.read()
Read a single character. |
int |
StringReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
long |
StringReader.skip(long ns)
Skip characters. |
boolean |
StringReader.ready()
Tell whether this stream is ready to be read. |
void |
StringReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
StringReader.reset()
Reset the stream to the most recent mark, or to the beginning of the string if it has never been marked. |
int |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer. |
Object |
ObjectInputStream.readObject()
Read an object from the ObjectInputStream. |
protected Object |
ObjectInputStream.readObjectOverride()
This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor. |
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from this stream. |
ObjectInputStream.GetField |
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by name. |
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass v)
Load the local class equivalent of the specified stream class description. |
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. |
protected Object |
ObjectInputStream.resolveObject(Object obj)
This method will allow trusted subclasses of ObjectInputStream to substitute one object for another during deserialization. |
protected void |
ObjectInputStream.readStreamHeader()
The readStreamHeader method is provided to allow subclasses to read and verify their own stream headers. |
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream. |
int |
ObjectInputStream.read()
Reads a byte of data. |
int |
ObjectInputStream.read(byte[] b,
int off,
int len)
Reads into an array of bytes. |
int |
ObjectInputStream.available()
Returns the number of bytes that can be read without blocking. |
void |
ObjectInputStream.close()
Closes the input stream. |
boolean |
ObjectInputStream.readBoolean()
Reads in a boolean. |
byte |
ObjectInputStream.readByte()
Reads an 8 bit byte. |
int |
ObjectInputStream.readUnsignedByte()
Reads an unsigned 8 bit byte. |
short |
ObjectInputStream.readShort()
Reads a 16 bit short. |
int |
ObjectInputStream.readUnsignedShort()
Reads an unsigned 16 bit short. |
char |
ObjectInputStream.readChar()
Reads a 16 bit char. |
int |
ObjectInputStream.readInt()
Reads a 32 bit int. |
long |
ObjectInputStream.readLong()
Reads a 64 bit long. |
float |
ObjectInputStream.readFloat()
Reads a 32 bit float. |
double |
ObjectInputStream.readDouble()
Reads a 64 bit double. |
void |
ObjectInputStream.readFully(byte[] data)
Reads bytes, blocking until all bytes are read. |
void |
ObjectInputStream.readFully(byte[] data,
int offset,
int size)
Reads bytes, blocking until all bytes are read. |
int |
ObjectInputStream.skipBytes(int len)
Skips bytes, block until all bytes are skipped. |
String |
ObjectInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. |
String |
ObjectInputStream.readUTF()
Reads a UTF format String. |
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this stream. |
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean defvalue)
Get the value of the named boolean field from the persistent field. |
abstract char |
ObjectInputStream.GetField.get(String name,
char defvalue)
Get the value of the named char field from the persistent fields. |
abstract byte |
ObjectInputStream.GetField.get(String name,
byte defvalue)
Get the value of the named byte field from the persistent fields. |
abstract short |
ObjectInputStream.GetField.get(String name,
short defvalue)
Get the value of the named short field from the persistent fields. |
abstract int |
ObjectInputStream.GetField.get(String name,
int defvalue)
Get the value of the named int field from the persistent fields. |
abstract long |
ObjectInputStream.GetField.get(String name,
long defvalue)
Get the value of the named long field from the persistent fields. |
abstract float |
ObjectInputStream.GetField.get(String name,
float defvalue)
Get the value of the named float field from the persistent fields. |
abstract double |
ObjectInputStream.GetField.get(String name,
double defvalue)
Get the value of the named double field from the persistent field. |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object defvalue)
Get the value of the named Object field from the persistent field. |
void |
PipedInputStream.connect(PipedOutputStream src)
Causes this piped input stream to be connected to the piped output stream src. |
protected void |
PipedInputStream.receive(int b)
Receives a byte of data. |
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. |
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. |
int |
InputStreamReader.read()
Read a single character. |
int |
InputStreamReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
boolean |
InputStreamReader.ready()
Tell whether this stream is ready to be read. |
void |
InputStreamReader.close()
Close 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.unread(int b)
Pushes back a byte 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(byte[] b)
Pushes back an array of bytes by copying it to the front of the pushback buffer. |
int |
PushbackInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking. |
long |
PushbackInputStream.skip(long n)
Skips over and discards n bytes of data from this
input stream. |
void |
PushbackInputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
ObjectOutput.writeObject(Object obj)
Write an object to the underlying storage or stream. |
void |
ObjectOutput.write(int b)
Writes a byte. |
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.flush()
Flushes the stream. |
void |
ObjectOutput.close()
Closes the stream. |
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname. |
File |
File.getCanonicalFile()
Returns the canonical form of this abstract pathname. |
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 |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name. |
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name. |
void |
DataOutput.write(int b)
Writes to the output stream the eight low-order bits of the argument b. |
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.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.writeShort(int v)
Writes two bytes to the output stream to represent the value of the argument. |
void |
DataOutput.writeChar(int v)
Writes a char value, wich
is comprised of two 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 an long value, which is
comprised of four 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.writeDouble(double v)
Writes a double value,
which is comprised of eight bytes, to the output stream. |
void |
DataOutput.writeBytes(String s)
Writes a string 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.writeUTF(String str)
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s. |
void |
StringWriter.close()
Close the stream. |
void |
OutputStreamWriter.write(int c)
Write a single character. |
void |
OutputStreamWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters. |
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
OutputStreamWriter.flush()
Flush the stream. |
void |
OutputStreamWriter.close()
Close the stream. |
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.skipBytes(int n)
Makes an attempt to skip over n bytes
of data from the input
stream, discarding the skipped bytes. |
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. |
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. |
short |
DataInput.readShort()
Reads two input bytes and returns a short value. |
int |
DataInput.readUnsignedShort()
Reads two input bytes and returns an int value in the range 0
through 65535. |