|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use IOException | |
| java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
| 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 developing beans -- components based on the JavaBeansTM architecture. |
| 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.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| java.nio.channels.spi | Service-provider classes for the java.nio.channels package. |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
| 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.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
| 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.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.imageio | The main package of the Java Image I/O API. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from files and streams. |
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. |
| javax.net | Provides classes for networking applications. |
| javax.net.ssl | Provides classes for the secure socket package. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
| 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. |
| javax.xml.parsers | Provides classes allowing the processing of XML documents. |
| 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. |
| org.xml.sax | Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
| org.xml.sax.helpers | Provides helper classes for the Simple API for XML (SAX) which is a component of the Java API for XML Processing. |
| Uses of IOException in java.applet |
| Methods in java.applet that throw IOException | |
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this applet context. |
| 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 |
StringSelection.getTransferData(DataFlavor flavor)
Returns the Transferable's data in the requested
DataFlavor if possible. |
Object |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred. |
Reader |
DataFlavor.getReaderForText(Transferable transferable)
Gets a Reader for a text flavor, decoded, if necessary, for the expected charset (encoding). |
void |
DataFlavor.writeExternal(ObjectOutput os)
Serializes this DataFlavor. |
void |
DataFlavor.readExternal(ObjectInput is)
Restores this DataFlavor from a Serialized state. |
| Uses of IOException in java.awt.dnd |
| Methods in java.awt.dnd that throw IOException | |
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
Returns an object which represents the data provided by the encapsulated transferable for the requested data flavor. |
| 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 | |
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 |
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 |
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
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 |
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 | |
void |
StringWriter.close()
Closing a StringWriter has no effect. |
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. |
void |
CharArrayWriter.writeTo(Writer out)
Writes the contents of the buffer to another character 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. |
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 |
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. |
int |
InputStreamReader.read()
Read a single character. |
int |
InputStreamReader.read(char[] cbuf,
int offset,
int length)
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 |
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. |
long |
PushbackReader.skip(long n)
Skip characters. |
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. |
int |
CharArrayReader.read()
Read a single character. |
int |
CharArrayReader.read(char[] b,
int off,
int len)
Read characters into a portion of an array. |
long |
CharArrayReader.skip(long n)
Skip characters. |
boolean |
CharArrayReader.ready()
Tell whether this stream is ready to be read. |
void |
CharArrayReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
CharArrayReader.reset()
Reset the stream to the most recent mark, or to the beginning if it has never been marked. |
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. |
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 |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer. |
FileDescriptor |
RandomAccessFile.getFD()
Returns the opaque file descriptor object associated with this stream. |
int |
RandomAccessFile.read()
Reads a byte of data from this file. |
int |
RandomAccessFile.read(byte[] b,
int off,
int len)
Reads up to len bytes of data from this file into an
array of bytes. |
int |
RandomAccessFile.read(byte[] b)
Reads up to b.length bytes of data from this file
into an array of bytes. |
void |
RandomAccessFile.readFully(byte[] b)
Reads b.length bytes from this file into the byte
array, starting at the current file pointer. |
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. |
int |
RandomAccessFile.skipBytes(int n)
Attempts to skip over n bytes of input discarding the
skipped bytes. |
void |
RandomAccessFile.write(int b)
Writes the specified byte to this file. |
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. |
long |
RandomAccessFile.getFilePointer()
Returns the current offset in 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. |
long |
RandomAccessFile.length()
Returns the length of this file. |
void |
RandomAccessFile.setLength(long newLength)
Sets the length of this file. |
void |
RandomAccessFile.close()
Closes this random access file stream and releases any system resources associated with the stream. |
boolean |
RandomAccessFile.readBoolean()
Reads a boolean from this file. |
byte |
RandomAccessFile.readByte()
Reads a signed eight-bit value from this file. |
int |
RandomAccessFile.readUnsignedByte()
Reads an unsigned eight-bit number from this file. |
short |
RandomAccessFile.readShort()
Reads a signed 16-bit number from this file. |
int |
RandomAccessFile.readUnsignedShort()
Reads an unsigned 16-bit number from this file. |
char |
RandomAccessFile.readChar()
Reads a Unicode character from this file. |
int |
RandomAccessFile.readInt()
Reads a signed 32-bit integer from this file. |
long |
RandomAccessFile.readLong()
Reads a signed 64-bit integer from this file. |
float |
RandomAccessFile.readFloat()
Reads a float from this file. |
double |
RandomAccessFile.readDouble()
Reads a double from this file. |
String |
RandomAccessFile.readLine()
Reads the next line of text from this file. |
String |
RandomAccessFile.readUTF()
Reads in a string from this file. |
void |
RandomAccessFile.writeBoolean(boolean v)
Writes a boolean to the file as a one-byte value. |
void |
RandomAccessFile.writeByte(int v)
Writes a byte to the file as a one-byte value. |
void |
RandomAccessFile.writeShort(int v)
Writes a short to the file as two bytes, high byte first. |
void |
RandomAccessFile.writeChar(int v)
Writes a char to the file as a two-byte value, high
byte first. |
void |
RandomAccessFile.writeInt(int v)
Writes an int to the file as four bytes, high byte first. |
void |
RandomAccessFile.writeLong(long v)
Writes a long to the file as eight bytes, high byte first. |
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. |
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. |
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes. |
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters. |
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using UTF-8 encoding in a machine-independent manner. |
void |
BufferedOutputStream.write(int b)
Writes the specified byte to 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.flush()
Flushes this buffered output stream. |
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. |
int |
LineNumberInputStream.read()
Deprecated. Reads the next byte of data from this input stream. |
int |
LineNumberInputStream.read(byte[] b,
int off,
int len)
Deprecated. Reads up to len bytes of data from this input stream
into an array of bytes. |
long |
LineNumberInputStream.skip(long n)
Deprecated. Skips over and discards n bytes of data from this
input stream. |
int |
LineNumberInputStream.available()
Deprecated. Returns the number of bytes that can be read from this input stream without blocking. |
void |
LineNumberInputStream.reset()
Deprecated. Repositions this stream to the position at the time the mark method was last called on this input stream. |
int |
SequenceInputStream.available()
Returns the number of bytes available on the current 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. |
void |
SequenceInputStream.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.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 |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect. |
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. |
long |
BufferedInputStream.skip(long n)
See the general contract of the skip
method of InputStream. |
int |
BufferedInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking. |
void |
BufferedInputStream.reset()
See the general contract of the reset
method of InputStream. |
void |
BufferedInputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
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. |
long |
FileInputStream.skip(long n)
Skips over and discards n bytes of data from the
input stream. |
int |
FileInputStream.available()
Returns the number of bytes that can be read from this file input stream without blocking. |
void |
FileInputStream.close()
Closes this file input stream and releases any system resources associated with the stream. |
FileDescriptor |
FileInputStream.getFD()
Returns the FileDescriptor
object that represents the connection to
the actual file in the file system being
used by this FileInputStream. |
protected void |
FileInputStream.finalize()
Ensures that the close method of this file input stream is
called when there are no more references to it. |
void |
PipedOutputStream.connect(PipedInputStream snk)
Connects this piped output stream to a receiver. |
void |
PipedOutputStream.write(int b)
Writes the specified byte to the piped output stream. |
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.flush()
Flushes this output stream and forces any buffered output bytes to be written out. |
void |
PipedOutputStream.close()
Closes this piped output stream and releases any system resources associated with this stream. |
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 |
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. |
void |
ByteArrayOutputStream.writeTo(OutputStream out)
Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using out.write(buf, 0, count). |
void |
ByteArrayOutputStream.close()
Closing a ByteArrayOutputStream has no effect. |
int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and stores them into the buffer array b. |
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. |
void |
DataInputStream.readFully(byte[] b)
See the general contract of the readFully
method of DataInput. |
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the readFully
method of DataInput. |
int |
DataInputStream.skipBytes(int n)
See the general contract of the skipBytes
method of DataInput. |
boolean |
DataInputStream.readBoolean()
See the general contract of the readBoolean
method of DataInput. |
byte |
DataInputStream.readByte()
See the general contract of the readByte
method of DataInput. |
int |
DataInputStream.readUnsignedByte()
See the general contract of the readUnsignedByte
method of DataInput. |
short |
DataInputStream.readShort()
See the general contract of the readShort
method of DataInput. |
int |
DataInputStream.readUnsignedShort()
See the general contract of the readUnsignedShort
method of DataInput. |
char |
DataInputStream.readChar()
See the general contract of the readChar
method of DataInput. |
int |
DataInputStream.readInt()
See the general contract of the readInt
method of DataInput. |
long |
DataInputStream.readLong()
See the general contract of the readLong
method of DataInput. |
float |
DataInputStream.readFloat()
See the general contract of the readFloat
method of DataInput. |
double |
DataInputStream.readDouble()
See the general contract of the readDouble
method of DataInput. |
String |
DataInputStream.readLine()
Deprecated. This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:
|
String |
DataInputStream.readUTF()
See the general contract of the readUTF
method of DataInput. |
static String |
DataInputStream.readUTF(DataInput in)
Reads from the stream in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String. |
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. |
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 strea |