Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.io.IOException

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.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   
javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors. 
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)
           
 

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)
          If the data was requested in the "java.lang.String" flavor, return the String representing the selection.
 void DataFlavor.writeExternal(ObjectOutput os)
          Serialize this DataFlavor
 void DataFlavor.readExternal(ObjectInput is)
          restore this DataFlavor from an Serialized state
 Object Transferable.getTransferData(DataFlavor flavor)
          Returns an object which represents the data to be transferred.
 

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.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)
           
protected  void BeanContextSupport.deserialize(ObjectInputStream ois, Collection coll)
          used by readObject to deserialize a collection
 void BeanContextSupport.writeChildren(ObjectOutputStream oos)
           
 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
 interface CharConversionException
          base class for character conversion exceptions
 interface EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 interface FileNotFoundException
          Signals that an attempt to open the file denoted by a specified pathname has failed.
 interface InterruptedIOException
          Signals that an I/O operation has been interrupted.
 interface InvalidClassException
          Thrown when the Serialization runtime detects one of the following problems with a Class.
 interface InvalidObjectException
          Indicates that one or more deserialized objects failed validation tests.
 interface NotActiveException
          Thrown when serialization or deserialization is not active.
 interface NotSerializableException
          Thrown when an instance is required to have a Serializable interface.
 interface ObjectStreamException
          Superclass of all exceptions specific to Object Stream classes.
 interface OptionalDataException
          Unexpected data appeared in an ObjectInputStream trying to read an Object.
 interface StreamCorruptedException
          Thrown when control information that was read from an object stream violates internal consistency checks.
 interface SyncFailedException
           
 interface UnsupportedEncodingException
          The Character Encoding is not supported
 interface 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.
 interface WriteAbortedException
           
 

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 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.
 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.
 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 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.
 int StreamTokenizer.nextToken()
          Parses the next token from the input stream of this tokenizer.
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 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.
 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.
protected  void ObjectOutputStream.writeObjectOverride(Object obj)
          This method is called by trusted subclasses of ObjectInputStream that constructed ObjectInputStream using the protected no-arg constructor.
 void ObjectOutputStream.useProtocolVersion(int version)
          Specify stream protocol version to use when writing the stream.
 void ObjectOutputStream.writeObject(Object obj)
          Write the specified object to the ObjectOutputStream.
 void ObjectOutputStream.defaultWriteObject()
          Write the non-static and non-transient fields of the current class to this stream.
 ObjectOutputStream.PutField ObjectOutputStream.putFields()
          Retrieve the object used to buffer persistent fields to be written to the stream.
 void ObjectOutputStream.writeFields()
          Write the buffered fields to the stream.
 void ObjectOutputStream.reset()
          Reset will disregard the state of any objects already written to the stream.
protected  void ObjectOutputStream.annotateClass(Class cl)
          Subclasses may implement this method to allow class data to be stored in the stream.
protected  Object ObjectOutputStream.replaceObject(Object obj)
          This method will allow trusted subclasses of ObjectOutputStream to substitute one object for another during serialization.
protected  void ObjectOutputStream.writeStreamHeader()
          The writeStreamHeader method is provided so subclasses can append or prepend their own header to the stream.
 void ObjectOutputStream.write(int data)
          Writes a byte.
 void ObjectOutputStream.write(byte[] b)
          Writes an array of bytes.
 void ObjectOutputStream.write(byte[] b, int off, int len)
          Writes a sub array of bytes.
 void ObjectOutputStream.flush()
          Flushes the stream.
protected  void ObjectOutputStream.drain()
          Drain any buffered data in ObjectOutputStream.
 void ObjectOutputStream.close()
          Closes the stream.
 void ObjectOutputStream.writeBoolean(boolean data)
          Writes a boolean.
 void ObjectOutputStream.writeByte(int data)
          Writes an 8 bit byte.
 void ObjectOutputStream.writeShort(int data)
          Writes a 16 bit short.
 void ObjectOutputStream.writeChar(int data)
          Writes a 16 bit char.
 void ObjectOutputStream.writeInt(int data)
          Writes a 32 bit int.
 void ObjectOutputStream.writeLong(long data)
          Writes a 64 bit long.
 void ObjectOutputStream.writeFloat(float data)
          Writes a 32 bit float.
 void ObjectOutputStream.writeDouble(double data)
          Writes a 64 bit double.
 void ObjectOutputStream.writeBytes(String data)
          Writes a String as a sequence of bytes.
 void ObjectOutputStream.writeChars(String data)
          Writes a String as a sequence of chars.
 void ObjectOutputStream.writeUTF(String data)
          Primitive data write of this String in UTF format.
abstract  void ObjectOutputStream.PutField.write(ObjectOutput out)
          Write the data and fields to the specified ObjectOutput 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 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.
 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 ByteArrayInputStream.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.
 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 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.
 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 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.
 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 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.
 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 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.
 int DataInputStream.read(byte[] b)
          See the general contract of the read method of DataInput.
 int DataInputStream.read(byte[] b, int off, int len)
          See the general contract of the read method of DataInput.
 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:
     DataInputStream d = new DataInputStream(in);
 
with:
     BufferedReader d
          = new BufferedReader(new InputStreamReader(in));
 
 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.
 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.
 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.
 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 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()
          Closes this output stream and releases any system resources associated with this 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.
 char DataInput.readChar()
          Reads an input char and returns the char value.
 int DataInput.readInt()
          Reads four input bytes and returns an int value.
 long DataInput.readLong()
          Reads eight input bytes and returns a long value.
 float DataInput.readFloat()
          Reads four input bytes and returns a float value.
 double DataInput.readDouble()
          Reads eight input bytes and returns a double value.
 String DataInput.readLine()
          Reads the next line of text from the input stream.
 String DataInput.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 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 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.
 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 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.
 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 CharArrayWriter.writeTo(Writer out)
          Writes the contents of the buffer to another character stream.
 void BufferedWriter.write(int c)
          Write a single character.
 void BufferedWriter.write(char[] cbuf, int off, int len)
          Write a portion of an array of characters.
 void BufferedWriter.write(String s, int off, int len)
          Write a portion of a String.
 void BufferedWriter.newLine()
          Write a line separator.
 void BufferedWriter.flush()
          Flush the stream.
 void BufferedWriter.close()
          Close 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.
 void StringWriter.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.
 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  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.
 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.
 

Constructors in java.io that throw IOException
FileWriter.FileWriter(String fileName)
           
FileWriter.FileWriter(String fileName, boolean append)
           
FileWriter.FileWriter(File file)
           
ObjectOutputStream.ObjectOutputStream(OutputStream out)
          Creates an ObjectOutputStream that writes to the specified OutputStream.
ObjectOutputStream.ObjectOutputStream()
          Provide a way for subclasses that are completely reimplementing ObjectOutputStream to not have to allocate private data just used by this implementation of ObjectOutputStream.
FileOutputStream.FileOutputStream(File file)
          Creates a file output stream to write to the file represented by the specified File object.
PipedOutputStream.PipedOutputStream(PipedInputStream snk)
          Creates a piped output stream connected to the specified piped input stream.
PipedInputStream.PipedInputStream(PipedOutputStream src)
          Creates a PipedInputStream so that it is connected to the piped output stream src.
PipedWriter.PipedWriter(PipedReader snk)
          Creates a piped writer connected to the specified piped reader.
PipedReader.PipedReader(PipedWriter src)
          Creates a PipedReader so that it is connected to the piped writer src.
RandomAccessFile.RandomAccessFile(File file, String mode)
          Creates a random access file stream to read from, and optionally to write to, the file specified by the File argument.
ObjectInputStream.ObjectInputStream(InputStream in)
          Create an ObjectInputStream that reads from the specified InputStream.
ObjectInputStream.ObjectInputStream()
          Provide a way for subclasses that are completely reimplementing ObjectInputStream to not have to allocate private data just used by this implementation of ObjectInputStream.
 

Uses of IOException in java.lang
 

Methods in java.lang that throw IOException
 Enumeration ClassLoader.getResources(String name)
          Finds all the resources with the given name.
protected  Enumeration ClassLoader.findResources(String name)
          Returns an Enumeration of URLs representing all the resources with the given name.
static Enumeration ClassLoader.getSystemResources(String name)
          Finds all resources of the specified name from the search path used to load classes.
 Process Runtime.exec(String command)
          Executes the specified string command in a separate process.
 Process Runtime.exec(String command, String[] envp)
          Executes the specified string command in a separate process with the specified environment.
 Process Runtime.exec(String[] cmdarray)
          Executes the specified command and arguments in a separate process.
 Process Runtime.exec(String[] cmdarray, String[] envp)
          Executes the specified command and arguments in a separate process with the specified environment.
 

Uses of IOException in java.net
 

Subclasses of IOException in java.net
 interface BindException
          Signals that an error occurred while attempting to bind a socket to a local address and port.
 interface MalformedURLException
          Thrown to indicate that a malformed URL has occurred.
 interface NoRouteToHostException
          Signals that an error occurred while attempting to connect a socket to a remote address and port.
 interface ProtocolException
          Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
 interface SocketException
          Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
 interface UnknownHostException
          Thrown to indicate that the IP address of a host could not be determined.
 interface UnknownServiceException
          Thrown to indicate that an unknown service exception has occurred.
 

Methods in java.net that throw IOException
protected abstract  URLConnection URLStreamHandler.openConnection(URL u)
          Opens a connection to the object referenced by the URL argument.
 void DatagramSocket.send(DatagramPacket p)
          Sends a datagram packet from this socket.
 void DatagramSocket.receive(DatagramPacket p)
          Receives a datagram packet from this socket.
 void MulticastSocket.setTTL(byte ttl)
          Deprecated. use the setTimeToLive method instead, which uses int instead of byte as the type for ttl.
 void MulticastSocket.setTimeToLive(int ttl)
          Set the default time-to-live for multicast packets sent out on this socket.
 byte MulticastSocket.getTTL()
          Deprecated. use the getTimeToLive method instead, which returns an int instead of a byte.
 int MulticastSocket.getTimeToLive()
          Get the default time-to-live for multicast packets sent out on the socket.
 void MulticastSocket.joinGroup(InetAddress mcastaddr)
          Joins a multicast group.Its behavior may be affected by setInterface.
 void MulticastSocket.leaveGroup(InetAddress mcastaddr)
          Leave a multicast group.
 void MulticastSocket.send(DatagramPacket p, byte ttl)
          Sends a datagram packet to the destination, with a TTL (time- to-live) other than the default for the socket.
abstract  void URLConnection.connect()
          Opens a communications link to the resource referenced by this URL, if such a connection has not already been established.
 Object URLConnection.getContent()
          Retrieves the contents of this URL connection.
 Permission URLConnection.getPermission()
          Returns a permission object representing the permission necessary to make the connection represented by this object.
 InputStream URLConnection.getInputStream()
          Returns an input stream that reads from this open connection.
 OutputStream URLConnection.getOutputStream()
          Returns an output stream that writes to this connection.
static String URLConnection.guessContentTypeFromStream(InputStream is)
          Tries to determine the type of an input stream based on the characters at the beginning of the input stream.
abstract  JarFile JarURLConnection.getJarFile()
          Return the JAR file for this connection.
 Manifest JarURLConnection.getManifest()
          Returns the Manifest for this connection, or null if none.
 JarEntry JarURLConnection.getJarEntry()
          Return the JAR entry object for this connection, if any.
 Attributes JarURLConnection.getAttributes()
          Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise.
 Attributes JarURLConnection.getMainAttributes()
          Returns the main Attributes for the JAR file for this connection.
 Certificate[] JarURLConnection.getCertificates()
          /** Return the Certificate object for this connection if the URL for it points to a JAR file entry, null otherwise.
 InputStream Socket.getInputStream()
          Returns an input stream for this socket.
 OutputStream Socket.getOutputStream()
          Returns an output stream for this socket.
 void Socket.close()
          Closes this socket.
static void Socket.setSocketImplFactory(SocketImplFactory fac)
          Sets the client socket implementation factory for the application.
 int HttpURLConnection.getResponseCode()
          Gets HTTP response status.
 String HttpURLConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 Permission HttpURLConnection.getPermission()
           
protected abstract  void DatagramSocketImpl.send(DatagramPacket p)
          Sends a datagram packet.
protected abstract  int DatagramSocketImpl.peek(InetAddress i)
          Peek at the packet to see who it is from.
protected abstract  void DatagramSocketImpl.receive(DatagramPacket p)
          Receive the datagram packet.
protected abstract  void DatagramSocketImpl.setTTL(byte ttl)
          Deprecated. use setTimeToLive instead.
protected abstract  byte DatagramSocketImpl.getTTL()
          Deprecated. use getTimeToLive instead.
protected abstract  void DatagramSocketImpl.setTimeToLive(int ttl)
          Set the TTL (time-to-live) option.
protected abstract  int DatagramSocketImpl.getTimeToLive()
          Retrieve the TTL (time-to-live) option.
protected abstract  void DatagramSocketImpl.join(InetAddress inetaddr)
          Join the multicast group.
protected abstract  void DatagramSocketImpl.leave(InetAddress inetaddr)
          Leave the multicast group.
 Socket ServerSocket.accept()
          Listens for a connection to be made to this socket and accepts it.
protected  void ServerSocket.implAccept(Socket s)
          Subclasses of ServerSocket use this method to override accept() to return their own subclass of socket.
 void ServerSocket.close()
          Closes this socket.
 int ServerSocket.getSoTimeout()
          Retrive setting for SO_TIMEOUT.
static void ServerSocket.setSocketFactory(SocketImplFactory fac)
          Sets the server socket implementation factory for the application.
abstract  Object ContentHandler.getContent(URLConnection urlc)
          Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it.
 URLConnection URL.openConnection()
          Returns a URLConnection object that represents a connection to the remote object referred to by the URL.
 InputStream URL.openStream()
          Opens a connection to this URL and returns an InputStream for reading from that connection.
 Object URL.getContent()
          Returns the contents of this URL.
 Enumeration URLClassLoader.findResources(String name)
          Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
protected abstract  void SocketImpl.create(boolean stream)
          Creates either a stream or a datagram socket.
protected abstract  void SocketImpl.connect(String host, int port)
          Connects this socket to the specified port on the named host.
protected abstract  void SocketImpl.connect(InetAddress address, int port)
          Connects this socket to the specified port number on the specified host.
protected abstract  void SocketImpl.bind(InetAddress host, int port)
          Binds this socket to the specified port number on the specified host.
protected abstract  void SocketImpl.listen(int backlog)
          Sets the maximum queue length for incoming connection indications (a request to connect) to the count argument.
protected abstract  void SocketImpl.accept(SocketImpl s)
          Accepts a connection.
protected abstract  InputStream SocketImpl.getInputStream()
          Returns an input stream for this socket.
protected abstract  OutputStream SocketImpl.getOutputStream()
          Returns an output stream for this socket.
protected abstract  int SocketImpl.available()
          Returns the number of bytes that can be read from this socket without blocking.
protected abstract  void SocketImpl.close()
          Closes this socket.
 

Constructors in java.net that throw IOException
MulticastSocket.MulticastSocket()
          Create a multicast socket.
MulticastSocket.MulticastSocket(int port)
          Create a multicast socket and bind it to a specific port.
Socket.Socket(String host, int port)
          Creates a stream socket and connects it to the specified port number on the named host.
Socket.Socket(InetAddress address, int port)
          Creates a stream socket and connects it to the specified port number at the specified IP address.
Socket.Socket(String host, int port, InetAddress localAddr, int localPort)
          Creates a socket and connects it to the specified remote host on the specified remote port.
Socket.Socket(InetAddress address, int port, InetAddress localAddr, int localPort)
          Creates a socket and connects it to the specified remote address on the specified remote port.
Socket.Socket(String host, int port, boolean stream)
          Deprecated. Use DatagramSocket instead for UDP transport.
Socket.Socket(InetAddress host, int port, boolean stream)
          Deprecated. Use DatagramSocket instead for UDP transport.
ServerSocket.ServerSocket(int port)
          Creates a server socket on a specified port.
ServerSocket.ServerSocket(int port, int backlog)
          Creates a server socket and binds it to the specified local port number.
ServerSocket.ServerSocket(int port, int backlog, InetAddress bindAddr)
          Create a server with the specified port, listen backlog, and local IP address to bind to.
 

Uses of IOException in java.rmi
 

Subclasses of IOException in java.rmi
 interface AccessException
          An AccessException is thrown by certain methods of the java.rmi.Naming class (specifically bind, rebind, and unbind) and methods of the java.rmi.activation.ActivationSystem interface to indicate that the caller does not have permission to perform the action requested by the method call.
 interface ConnectException
          A ConnectException is thrown if a connection is refused to the remote host for a remote method call.
 interface ConnectIOException
          A ConnectIOException is thrown if an IOException occurs while making a connection to the remote host for a remote method call.
 interface MarshalException
          A MarshalException is thrown if a java.io.IOException occurs while marshalling the remote call header, arguments or return value for a remote method call.
 interface NoSuchObjectException
          A NoSuchObjectException is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
 interface RemoteException
          A RemoteException is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.
 interface ServerError
          A ServerError is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a java.lang.Error.
 interface ServerException
          A ServerException is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a RemoteException.
 interface ServerRuntimeException
          Deprecated. no replacement
 interface StubNotFoundException
          A StubNotFoundException is thrown if a valid stub class could not be found for a remote object when it is exported.
 interface UnexpectedException
          An UnexpectedException is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the throws clause of the method in the remote interface.
 interface UnmarshalException
          An UnmarshalException can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if a java.io.IOException occurs unmarshalling parameters (on the server side) or the return value (on the client side).
 

Methods in java.rmi that throw IOException
 Object MarshalledObject.get()
          Returns a new copy of the contained marshalledobject.
 

Constructors in java.rmi that throw IOException
MarshalledObject.MarshalledObject(Object obj)
          Creates a new MarshalledObject that contains the serialized representation of the current state of the supplied object.
 

Uses of IOException in java.rmi.activation
 

Subclasses of IOException in java.rmi.activation
 interface ActivateFailedException
          This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.
 

Uses of IOException in java.rmi.server
 

Subclasses of IOException in java.rmi.server
 interface ExportException
          An ExportException is a RemoteException thrown if an attempt to export a remote object fails.
 interface SkeletonMismatchException
          Deprecated. no replacement. Skeletons are no longer required for remote method calls in JDK1.2 and greater.
 interface SkeletonNotFoundException
          Deprecated. no replacement. Skeletons are no longer required for remote method calls in JDK1.2 and greater.
 interface SocketSecurityException
          A SocketSecurityException is thrown during remote object export if the code exporting the remote object (either by construction or by explicit call to the exportObject method of UnicastRemoteObject or java.rmi.activation.Activatable) does not have permission to create a java.net.ServerSocket on the port number specified during remote object export.
 

Methods in java.rmi.server that throw IOException
 void ObjID.write(ObjectOutput out)
          Marshals object id to output stream.
static ObjID ObjID.read(ObjectInput in)
          Constructs an object id whose contents is read from the specified input stream.
 void UID.write(DataOutput out)
          Write the UID to output stream, out.
static UID UID.read(DataInput in)
          Reads the UID from the input stream.
 Socket RMIClientSocketFactory.createSocket(String host, int port)
          Create a client socket connected to the specified host and port.
 ServerSocket RMIServerSocketFactory.createServerSocket(int port)
          Create a server socket on the specified port (port 0 indicates an anonymous port).
abstract  Socket RMISocketFactory.createSocket(String host, int port)
          Creates a client socket connected to the specified host and port.
abstract  ServerSocket RMISocketFactory.createServerSocket(int port)
          Create a server socket on the specified port (port 0 indicates an anonymous port).
static void RMISocketFactory.setSocketFactory(RMISocketFactory fac)
          Set the global socket factory from which RMI gets sockets (if the remote object is not associated with a specific client and/or server socket factory).
 ObjectOutput RemoteCall.getOutputStream()
          Deprecated. no replacement
 void RemoteCall.releaseOutputStream()
          Deprecated. no replacement
 ObjectInput RemoteCall.getInputStream()
          Deprecated. no replacement
 void RemoteCall.releaseInputStream()
          Deprecated. no replacement
 ObjectOutput RemoteCall.getResultStream(boolean success)
          Deprecated. no replacement
 void RemoteCall.done()
          Deprecated. no replacement
 

Uses of IOException in java.security
 

Methods in java.security that throw IOException
 void AlgorithmParameters.init(byte[] params)
          Imports the specified parameters and decodes them according to the primary decoding format for parameters.
 void AlgorithmParameters.init(byte[] params, String format)
          Imports the parameters from params and decodes them according to the specified decoding scheme.
 byte[] AlgorithmParameters.getEncoded()
          Returns the parameters in their primary encoding format.
 byte[] AlgorithmParameters.getEncoded(String format)
          Returns the parameters encoded in the specified scheme.
 void DigestOutputStream.write(int b)
          Updates the message digest (if the digest function is on) using the specified byte, and in any case writes the byte to the output stream.
 void DigestOutputStream.write(byte[] b, int off, int len)
          Updates the message digest (if the digest function is on) using the specified subarray, and in any case writes the subarray to the output stream.
 Object SignedObject.getObject()
          Retrieves the encapsulated object.
 int DigestInputStream.read()
          Reads a byte, and updates the message digest (if the digest function is on).
 int DigestInputStream.read(byte[] b, int off, int len)
          Reads into a byte array, and updates the message digest (if the digest function is on).
abstract  void KeyStoreSpi.engineStore(OutputStream stream, char[] password)
          Stores this keystore to the given output stream, and protects its integrity with the given password.
abstract  void KeyStoreSpi.engineLoad(InputStream stream, char[] password)
          Loads the keystore from the given input stream.
 void KeyStore.store(OutputStream stream, char[] password)
          Stores this keystore to the given output stream, and protects its integrity with the given password.
 void KeyStore.load(InputStream stream, char[] password)
          Loads this KeyStore from the given input stream.
protected abstract  void AlgorithmParametersSpi.engineInit(byte[] params)
          Imports the specified parameters and decodes them according to the primary decoding format for parameters.
protected abstract  void AlgorithmParametersSpi.engineInit(byte[] params, String format)
          Imports the parameters from params and decodes them according to the specified decoding format.
protected abstract  byte[] AlgorithmParametersSpi.engineGetEncoded()
          Returns the parameters in their primary encoding format.
protected abstract  byte[] AlgorithmParametersSpi.engineGetEncoded(String format)
          Returns the parameters encoded in the specified format.
 void Provider.load(InputStream inStream)
          Reads a property list (key and element pairs) from the input stream.
 void Certificate.encode(OutputStream stream)
          Deprecated. Encodes the certificate to an output stream in a format that can be decoded by the decode method.
 void Certificate.decode(InputStream stream)
          Deprecated. Decodes a certificate from an input stream.
 

Constructors in java.security that throw IOException
SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
          Constructs a SignedObject from any Serializable object.
 

Uses of IOException in java.util
 

Methods in java.util that throw IOException
 void Properties.load(InputStream inStream)
          Reads a property list (key and element pairs) from the input stream.
 void Properties.store(OutputStream out, String header)
          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 method.
 

Constructors in java.util that throw IOException
PropertyResourceBundle.PropertyResourceBundle(InputStream stream)
          Creates a property resource
 

Uses of IOException in java.util.jar
 

Subclasses of IOException in java.util.jar
 interface JarException
          Signals that an error of some sort has occurred while reading from or writing to a JAR file.
 

Methods in java.util.jar that throw IOException
 Manifest JarFile.getManifest()
          Returns the JAR file manifest, or null if none.
 InputStream JarFile.getInputStream(ZipEntry ze)
          Returns an input stream for reading the contents of the specified ZIP file entry.
 void Manifest.write(OutputStream out)
          Writes the Manifest to the specified OutputStream.
 void Manifest.read(InputStream is)
          Reads the Manifest from the specified InputStream.
 void JarOutputStream.putNextEntry(ZipEntry ze)
          Begins writing a new JAR file entry and positions the stream to the start of the entry data.
 Attributes JarEntry.getAttributes()
          Returns the Manifest Attributes for this entry, or null if none.
 ZipEntry JarInputStream.getNextEntry()
          Reads the next ZIP file entry and positions stream at the beginning of the entry data.
 JarEntry JarInputStream.getNextJarEntry()
          Reads the next JAR file entry and positions the stream at the beginning of the entry data.
 int JarInputStream.read(byte[] b, int off, int len)
          Reads from the current JAR file entry into an array of bytes.
 

Constructors in java.util.jar that throw IOException
JarFile.JarFile(String name)
          Creates a new JarFile to read from the specified file name.
JarFile.JarFile(String name, boolean verify)
          Creates a new JarFile to read from the specified file name.
JarFile.JarFile(File file)
          Creates a new JarFile to read from the specified File object.
JarFile.JarFile(File file, boolean verify)
          Creates a new JarFile to read from the specified File object.
Manifest.Manifest(InputStream is)
          Constructs a new Manifest from the specified input stream.
JarOutputStream.JarOutputStream(OutputStream out, Manifest man)
          Creates a new JarOutputStream with the specified Manifest.
JarOutputStream.JarOutputStream(OutputStream out)
          Creates a new JarOutputStream with no manifest.
JarInputStream.JarInputStream(InputStream in)
          Creates a new JarInputStream and reads the optional manifest.
JarInputStream.JarInputStream(InputStream in, boolean verify)
          Creates a new JarInputStream and reads the optional manifest.
 

Uses of IOException in java.util.zip
 

Subclasses of IOException in java.util.zip
 interface ZipException
           
 

Methods in java.util.zip that throw IOException
 InputStream ZipFile.getInputStream(ZipEntry entry)
          Returns an input stream for reading the contents of the specified zip file entry.
 void ZipFile.close()
          Closes the ZIP file.
 void DeflaterOutputStream.write(int b)
          Writes a byte to the compressed output stream.
 void DeflaterOutputStream.write(byte[] b, int off, int len)
          Writes an array of bytes to the compressed output stream.
 void DeflaterOutputStream.finish()
          Finishes writing compressed data to the output stream without closing the underlying stream.
 void DeflaterOutputStream.close()
          Writes remaining compressed data to the output stream and closes the underlying stream.
protected  void DeflaterOutputStream.deflate()
          Writes next block of compressed data to the output stream.
 void ZipOutputStream.putNextEntry(ZipEntry e)
          Begins writing a new ZIP file entry and positions the stream to the start of the entry data.
 void ZipOutputStream.closeEntry()
          Closes the current ZIP entry and positions the stream for writing the next entry.
 void ZipOutputStream.write(byte[] b, int off, int len)
          Writes an array of bytes to the current ZIP entry data.
 void ZipOutputStream.finish()
          Finishes writing the contents of the ZIP output stream without closing the underlying stream.
 void ZipOutputStream.close()
          Closes the ZIP output stream as well as the stream being filtered.
 int InflaterInputStream.read()
          Reads a byte of uncompressed data.
 int InflaterInputStream.read(byte[] b, int off, int len)
          Reads uncompressed data into an array of bytes.
 int InflaterInputStream.available()
          Returns 0 after EOF has reached, otherwise always return 1.
 long InflaterInputStream.skip(long n)
          Skips specified number of bytes of uncompressed data.
 void InflaterInputStream.close()
          Closes the input stream.
protected  void InflaterInputStream.fill()
          Fills input buffer with more data to decompress.
 ZipEntry ZipInputStream.getNextEntry()
          Reads the next ZIP file entry and positions stream at the beginning of the entry data.
 void ZipInputStream.closeEntry()
          Closes the current ZIP entry and positions the stream for reading the next entry.
 int ZipInputStream.available()
          Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
 int ZipInputStream.read(byte[] b, int off, int len)
          Reads from the current ZIP entry into an array of bytes.
 long ZipInputStream.skip(long n)
          Skips specified number of bytes in the current ZIP entry.
 void ZipInputStream.close()
          Closes the ZIP input stream.
 int CheckedInputStream.read()
          Reads a byte.
 int CheckedInputStream.read(byte[] buf, int off, int len)
          Reads into an array of bytes.
 long CheckedInputStream.skip(long n)
          Skips specified number of bytes of input.
 void CheckedOutputStream.write(int b)
          Writes a byte.
 void CheckedOutputStream.write(byte[] b, int off, int len)
          Writes an array of bytes.
 int GZIPInputStream.read(byte[] buf, int off, int len)
          Reads uncompressed data into an array of bytes.
 void GZIPInputStream.close()
          Closes the input stream.
 void GZIPOutputStream.write(byte[] buf, int off, int len)
          Writes array of bytes to the compressed output stream.
 void GZIPOutputStream.finish()
          Finishes writing compressed data to the output stream without closing the underlying stream.
 void GZIPOutputStream.close()
          Writes remaining compressed data to the output stream and closes the underlying stream.
 

Constructors in java.util.zip that throw IOException
ZipFile.ZipFile(String name)
          Opens a zip file for reading.
ZipFile.ZipFile(File file)
          Opens a ZIP file for reading given the specified File object.
GZIPInputStream.GZIPInputStream(InputStream in, int size)
          Creates a new input stream with the specified buffer size.
GZIPInputStream.GZIPInputStream(InputStream in)
          Creates a new input stream with a default buffer size.
GZIPOutputStream.GZIPOutputStream(OutputStream out, int size)
          Creates a new output stream with the specified buffer size.
GZIPOutputStream.GZIPOutputStream(OutputStream out)
          Creates a new output stream with a default buffer size.
 

Uses of IOException in javax.swing
 

Methods in javax.swing that throw IOException
 void JEditorPane.setPage(URL page)
          Sets the current url being displayed.
 void JEditorPane.read(InputStream in, Object desc)
          This method initializes from a stream.
protected  InputStream JEditorPane.getStream(URL page)
          Fetch a stream for the given url, which is about to be loaded by the setPage method.
 void JEditorPane.setPage(String url)
          Sets the current url being displayed.
 int ProgressMonitorInputStream.read()
          Overrides FilterInputStream.read to update the progress monitor after the read.
 int ProgressMonitorInputStream.read(byte[] b)
          Overrides FilterInputStream.read to update the progress monitor after the read.
 int ProgressMonitorInputStream.read(byte[] b, int off, int len)
          Overrides FilterInputStream.read to update the progress monitor after the read.
 long ProgressMonitorInputStream.skip(long n)
          Overrides FilterInputStream.skip to update the progress monitor after the skip.
 void ProgressMonitorInputStream.close()
          Overrides FilterInputStream.close to close the progress monitor as well as the stream.
 void ProgressMonitorInputStream.reset()
          Overrides FilterInputStream.reset to reset the progress monitor as well as the stream.
 

Constructors in javax.swing that throw IOException
JEditorPane.JEditorPane(URL initialPage)
          Creates a JEditorPane based on a specified URL for input.
JEditorPane.JEditorPane(String url)
          Creates a JEditorPane based on a string containing a URL specification.
 

Uses of IOException in javax.swing.filechooser
 

Methods in javax.swing.filechooser that throw IOException
abstract  File FileSystemView.createNewFolder(File containingDir)
          creates a new folder with a default folder name.
 

Uses of IOException in javax.swing.text
 

Subclasses of IOException in javax.swing.text
 interface ChangedCharSetException
          ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.
 

Methods in javax.swing.text that throw IOException
 void JTextComponent.read(Reader in, Object desc)
          Initializes from a stream.
 void JTextComponent.write(Writer out)
          Stores the contents of the model into the given stream.
abstract  void EditorKit.read(InputStream in, Document doc, int pos)
          Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
abstract  void EditorKit.write(OutputStream out, Document doc, int pos, int len)
          Writes content from a document to the given stream in a format appropriate for this kind of content handler.
abstract  void EditorKit.read(Reader in, Document doc, int pos)
          Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
abstract  void EditorKit.write(Writer out, Document doc, int pos, int len)
          Writes content from a document to the given stream in a format appropriate for this kind of content handler.
 void DefaultEditorKit.read(InputStream in, Document doc, int pos)
          Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
 void DefaultEditorKit.write(OutputStream out, Document doc, int pos, int len)
          Writes content from a document to the given stream in a format appropriate for this kind of content handler.
 void DefaultEditorKit.read(Reader in, Document doc, int pos)
          Inserts content from the given stream, which will be treated as plain text.
 void DefaultEditorKit.write(Writer out, Document doc, int pos, int len)
          Writes content from a document to the given stream as plain text.
protected abstract  void AbstractWriter.write()
          This abstract method needs to be implemented by subclasses.
protected  void AbstractWriter.text(Element elem)
          Writes out text.
protected  void AbstractWriter.indent()
          Does indentation.
protected  void AbstractWriter.write(char ch)
          Writes out a character.
protected  void AbstractWriter.write(String str)
          Writes out a string.
protected  void AbstractWriter.writeAttributes(AttributeSet attr)
          Writes out the set of attributes as " =" pairs.
 void StyleContext.writeAttributes(ObjectOutputStream out, AttributeSet a)
          Context-specific handling of writing out attributes
 void StyleContext.readAttributes(ObjectInputStream in, MutableAttributeSet a)
          Context-specific handling of reading in attributes
static void StyleContext.writeAttributeSet(ObjectOutputStream out, AttributeSet a)
          Writes a set of attributes to the given object stream for the purpose of serialization.
static void StyleContext.readAttributeSet(ObjectInputStream in, MutableAttributeSet a)
          Reads a set of attributes from the given object input stream that have been previously written out with writeAttributeSet.
 

Uses of IOException in javax.swing.text.html
 

Methods in javax.swing.text.html that throw IOException
 void MinimalHTMLWriter.write()
          This method is responsible for generating html output from a StyledDocument.
protected  void MinimalHTMLWriter.writeAttributes(AttributeSet attr)
          This method writes out all the attributes that are for the following types: StyleConstants.ParagraphConstants StyleConstants.CharacterConstants StyleConstants.FontConstants StyleConstants.ColorConstants.
protected  void MinimalHTMLWriter.text(Element elem)
          This method is responsible for writing text out.
protected  void MinimalHTMLWriter.writeStartTag(String tag)
          This method writes out a start tag approrirately indented.
protected  void MinimalHTMLWriter.writeEndTag(String endTag)
          This method writes out a end tag approrirately indented.
protected  void MinimalHTMLWriter.writeHeader()
          This method writes out the and