Uses of Class java.io.IOException

Uses in package java.util.jar

Classes derived from java.io.IOException

class
This exception is thrown to indicate an problem with a jar file.

Constructors which throw type java.io.IOException

Creates a new JarFile.
JarFile.JarFile(File file, boolean verify)
Creates a new JarFile.
JarFile.JarFile(File file, boolean verify, int mode)
Creates a new JarFile with the indicated mode.
Creates a new JarFile.
JarFile.JarFile(String fileName, boolean verify)
Creates a new JarFile.
Creates a new JarInputStream and tries to read the manifest.
Creates a new JarInputStream and tries to read the manifest.
Creates a new JarOutputStream without a manifest entry.
Creates a new JarOutputStream with a manifest entry.
Creates a Manifest from the supplied input stream.

Methods which throw type java.io.IOException

Attributes
Returns a copy of the Attributes set for this entry.
InputStream
Returns an input stream for the given entry.
Manifest
Returns the manifest for this JarFile or null when the JarFile does not contain a manifest file.
ZipEntry
Returns the next entry or null when there are no more entries.
JarEntry
Returns the next jar entry or null when there are no more entries.
void
Prepares the JarOutputStream for writing the next entry.
int
JarInputStream.read(byte[] buf, int off, int len)
XXX
void
Read and merge a Manifest from the designated input stream.
void
Writes the contents of this Manifest to the designated output stream.

Uses in package javax.net

Methods which throw type java.io.IOException

ServerSocket
Create an unbound server socket.
ServerSocket
Create a server socket bound to the given port.
ServerSocket
ServerSocketFactory.createServerSocket(int port, int backlog)
ServerSocket
ServerSocketFactory.createServerSocket(int port, int backlog, InetAddress bindAddress)
Socket
Returns an unbound client socket.
Socket
Creates a socket connected to a given host on a given port.
Socket
SocketFactory.createSocket(String host, int port, InetAddress localHost, int localPort)
Creates a socket connected to a given host on a given port, connecting locally to the interface with the given address and port.
Socket
Creates a socket connected to a given host on a given port.
Socket
SocketFactory.createSocket(InetAddress hast, int port, InetAddress localHost, int localPort)
Creates a socket connected to a given host on a given port, connecting locally to the interface with the given address and port.

Uses in package javax.swing.text.rtf

Methods which throw type java.io.IOException

void
RTFEditorKit.read(InputStream stream, Document doc, int pos)
Reads RTF data from stream into doc at the specified position pos.
void
RTFEditorKit.read(Reader reader, Document doc, int pos)
Reads RTF data from reader into doc at the specified position pos.

Uses in package javax.sound.midi.spi

Methods which throw type java.io.IOException

MidiFileFormat
Read a MidiFileFormat from the given stream.
MidiFileFormat
Read a MidiFileFormat from the given stream.
MidiFileFormat
Read a MidiFileFormat from the given stream.
Sequence
Read a Sequence from the given stream.
Sequence
Read a Sequence from the given stream.
Sequence
Read a Sequence from the given stream.
Soundbank
Get a Soundbank from the given File.
Soundbank
Get a Soundbank from the given InputStream.
Soundbank
Get a Soundbank from the given URL.
int
MidiFileWriter.write(Sequence in, int fileType, File out)
Write a sequence to a file using the specified MIDI file type.
int
MidiFileWriter.write(Sequence in, int fileType, OutputStream out)
Write a sequence to a stream using the specified MIDI file type.

Uses in package java.util.zip

Classes derived from java.io.IOException

class
Thrown during the creation or input of a zip file.

Constructors which throw type java.io.IOException

Creates a GZIPInputStream with the default buffer size.
Creates a GZIPInputStream with the specified buffer size.
Creates a GZIPOutputStream with the default buffer size
Creates a GZIPOutputStream with the specified buffer size
Opens a Zip file reading the given File.
ZipFile.ZipFile(File file, int mode)
Opens a Zip file reading the given File in the given mode.
Opens a Zip file with the given name for reading.

Methods which throw type java.io.IOException

int
Returns 0 once the end of the stream (EOF) has been reached.
int
void
Calls finish() and closes the stream.
void
Closes the input stream.
void
Writes remaining compressed output data to the output stream and closes it.
void
Closes the input stream
void
Closes the ZipFile.
void
Closes the zip file.
void
Closes the current zip entry and moves to the next one.
void
Closes the current entry.
void
Deflates everything in the def's input buffers.
void
Fills the buffer with more data to decompress.
void
Calls the close() method when this ZipFile has not yet been explicitly closed.
void
Finishes the stream by calling finish() on the deflater.
void
Finishes the stream by calling finish() on the deflater.
void
Finishes the stream.
void
Flushes the stream by calling flush() on the deflater and then on the underlying stream.
InputStream
Creates an input stream reading the given zip entry as uncompressed data.
ZipEntry
Open the next entry from the zip archive, and return its description.
void
Starts a new Zip entry.
int
Reads one byte, updates the checksum and returns the read byte (or -1 when the end of file was reached).
int
Reads one byte of decompressed data.
int
Reads a byte from the current zip entry.
int
CheckedInputStream.read(byte[] buf, int off, int len)
Reads at most len bytes in the supplied buffer and updates the checksum with it.
int
GZIPInputStream.read(byte[] buf, int offset, int len)
Reads in GZIP-compressed data and stores it in uncompressed form into an array of bytes.
int
InflaterInputStream.read(byte[] b, int off, int len)
Decompresses data into the byte array
int
ZipInputStream.read(byte[] b, int off, int len)
Reads a block of bytes from the current zip entry.
void
long
Skips n bytes by reading them in a temporary buffer and updating the the checksum with that buffer.
long
Skip specified number of bytes of uncompressed data
void
CheckedOutputStream.write(byte[] buf, int off, int len)
Writes the byte array to the OutputStream and updates the Checksum.
void
DeflaterOutputStream.write(byte[] buf, int off, int len)
Writes a len bytes from an array to the compressed stream.
void
GZIPOutputStream.write(byte[] buf, int off, int len)
Writes a len bytes from an array to the compressed stream.
void
ZipOutputStream.write(byte[] b, int off, int len)
Writes the given buffer to the current entry.
void
Writes one byte to the OutputStream and updates the Checksum.
void
Writes a single byte to the compressed output stream.

Uses in package javax.imageio.spi

Methods which throw type java.io.IOException

boolean
ImageInputStream
ImageInputStream
ImageInputStreamSpi.createInputStreamInstance(Object input, boolean useCache, File cacheDir)
ImageOutputStream
ImageOutputStream
ImageOutputStreamSpi.createOutputStreamInstance(Object output, boolean useCache, File cacheDir)
ImageReader
ImageReader
ImageWriter
ImageWriter

Uses in package javax.swing.filechooser

Methods which throw type java.io.IOException

File
Creates a new folder with a unique name in the specified directory and returns a File object representing the new directory.

Uses in package javax.naming.ldap

Methods which throw type java.io.IOException

void
Close the connection.
SSLSession
Negotiate the TLS session using the default SSL socket factory.
SSLSession
Negotiate the TLS session using the supplied SSL socket factory.

Uses in package java.awt.peer

Methods which throw type java.io.IOException

void
void
void
void
DesktopPeer.mail(URI mailtoURL)
void
void

Uses in package javax.crypto

Constructors which throw type java.io.IOException

Create a new EncryptedPrivateKeyInfo from an encoded representation, parsing the ASN.1 sequence.
Create a new sealed object from a Serializable object and a cipher.

Methods which throw type java.io.IOException

int
Returns the number of bytes available without blocking.
void
Close this input stream.
void
Close this output stream, and the sink output stream.
void
Flush any pending output.
byte[]
Object
Unseal and deserialize this sealed object with the specified key.
Object
SealedObject.getObject(Key key, String provider)
Unseal and deserialize this sealed object with the specified key, using a cipher from the named provider.
Object
Unseal and deserialize this sealed object with a specified (already initialized) cipher.
int
Read a single byte from this input stream; returns -1 on the end-of-file.
int
CipherInputStream.read(byte[] buf)
Read bytes into an array, returning the number of bytes read or -1 on the end-of-file.
int
CipherInputStream.read(byte[] buf, int off, int len)
Read bytes into an array, returning the number of bytes read or -1 on the end-of-file.
void
Reset to the mark.
long
CipherInputStream.skip(long bytes)
Skip a number of bytes.
void
Write a byte array to the output stream.
void
CipherOutputStream.write(byte[] buf, int off, int len)
Write a portion of a byte array to the output stream.
void
Write a single byte to the output stream.

Uses in package java.security

Constructors which throw type java.io.IOException

SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
Constructs a new instance of SignedObject from a Serializable object.

Methods which throw type java.io.IOException

void
This method reads an encoded certificate from an InputStream.
void
This method writes the certificate to an OutputStream in a format that can be understood by the decode method.
byte[]
Returns the parameters in the default encoding format.
byte[]
Returns the parameters in the specified encoding format.
void
Initializes the engine with the specified parameters stored in the byte array and decodes them according to the ASN.1 specification.
void
AlgorithmParametersSpi.engineInit(byte[] params, String format)
Initializes the engine with the specified parameters stored in the byte array and decodes them according to the specified decoding specification.
void
KeyStoreSpi.engineLoad(InputStream stream, char[] password)
Loads the keystore from the specified input stream and it uses the specified password to check for integrity if supplied.
void
KeyStoreSpi.engineStore(OutputStream stream, char[] password)
Stores the keystore in the specified output stream and it uses the specified key it keep it secure.
byte[]
Returns the parameters in the default encoding format.
byte[]
Returns the parameters in the specified encoding format.
Object
Returns the encapsulated object.
void
AlgorithmParameters.init(byte[] params)
Initializes the engine with the specified parameters stored in the byte array and decodes them according to the ASN.1 specification.
void
AlgorithmParameters.init(byte[] params, String format)
Initializes the engine with the specified parameters stored in the byte array and decodes them according to the specified decoding specification.
void
KeyStore.load(InputStream stream, char[] password)
Loads the keystore from the specified input stream and it uses the specified password to check for integrity if supplied.
int
Reads a byte from the input stream and updates the digest.
int
DigestInputStream.read(byte[] b, int off, int len)
Reads bytes from the input stream and updates the digest.
void
KeyStore.store(OutputStream stream, char[] password)
Stores the keystore in the specified output stream and it uses the specified key it keep it secure.
void
DigestOutputStream.write(byte[] b, int off, int len)
Updates the hash if the on flag is true and then writes the bytes to the underlying output stream.
void
Updates the hash if the on flag is true and then writes a byte to the underlying output stream.

Uses in package javax.sound.sampled

Methods which throw type java.io.IOException

int
Return the number of bytes available to be read from the underlying stream.
void
Close the stream.
AudioFileFormat
Return the file format of a given File.
AudioFileFormat
Return the file format of a given input stream.
AudioFileFormat
Return the file format of a given URL.
AudioInputStream
Return an audio input stream for the file.
AudioInputStream
Return an audio input stream given an input stream.
AudioInputStream
Return an audio input stream for the given URL.
void
Open a clip, given an audio input stream.
int
Read a single byte from the underlying stream.
int
AudioInputStream.read(byte[] buf)
int
AudioInputStream.read(byte[] buf, int offset, int length)
void
long
int
Write an audio input stream to the given file, using the specified audio file format.
int
Write an audio input stream to the given output stream, using the specified audio file format.

Uses in package javax.security.auth.callback

Methods which throw type java.io.IOException

void
Retrieve or display the information requested in the provided Callbacks.

The handle() method implementation checks the instance(s) of the Callback object(s) passed in to retrieve or display the requested information.

Uses in package javax.swing.text.html.parser

Methods which throw type java.io.IOException

DTD
Get this DTD by name.
void
Parse the HTML text, calling various methods in response to the occurence of the corresponding HTML constructions.
void
DocumentParser.parse(Reader reader, HTMLEditorKit.ParserCallback aCallback, boolean ignoreCharSet)
Parses the HTML document, calling methods of the provided callback.
void
ParserDelegator.parse(Reader reader, HTMLEditorKit.ParserCallback a_callback, boolean ignoreCharSet)
Parses the HTML document, calling methods of the provided callback.
String
Parses DTD markup declaration.
boolean
Parse DTD document declarations.
void
Reads DTD from an archived format.

Uses in package javax.imageio.metadata

Classes derived from java.io.IOException

class

Uses in package java.nio.charset

Classes derived from java.io.IOException

class
class
class

Uses in package org.xml.sax

Methods which throw type java.io.IOException

void
Parser.parse(String systemId)
Parse an XML document from a system identifier (URI).
void
Parse an XML document from a system identifier (URI).
void
Parse an XML document.
void
Parse an XML document.
InputSource
Allow the application to resolve external entities.

Uses in package java.awt.datatransfer

Methods which throw type java.io.IOException

Object
Reader
Creates a Reader for a given Transferable.
Object
This method returns the data in the requested format.
Object
Returns the data in the specified DataFlavor.
void
De-serialize this class.
void
Serialize this class.

Uses in package java.nio.channels

Classes derived from java.io.IOException

class
class
class
class

Methods which throw type java.io.IOException

SocketChannel
Accepts a connection made to this channel's socket.
void
Closes this channel
void
Closes this channel
void
Closes the selector.
SelectableChannel
Adjusts this channel's blocking mode.
DatagramChannel
Connects this channel's socket.
boolean
Connects the channel's socket to the remote address.
DatagramChannel
Disonnects this channel's socket.
boolean
Finishes the process of connecting a socket channel.
void
FileChannel.force(boolean metaData)
msync with the disk
void
Closes the channel.
FileLock
Creates a file lock for the whole associated file.
FileLock
FileChannel.lock(long position, long size, boolean shared)
Creates a file lock for a region of the associated file.
MappedByteBuffer
FileChannel.map(FileChannel.MapMode mode, long position, long size)
Maps the file into the memory.
DatagramChannel
Opens a datagram channel.
Pipe
Opens a pipe.
Selector
Opens a selector.
ServerSocketChannel
Opens a server socket channel.
SocketChannel
Opens a socket channel.
SocketChannel
Opens a channel and connects it to a remote address.
long
Returns the current position on the file.
FileChannel
FileChannel.position(long newPosition)
Sets the position of the channel on the assoziated file.
int
Reads data from this channel.
int
Reads data from the channel.
int
Reads a sequence of bytes from this channel into the given buffer
int
Reads data from the channel.
int
FileChannel.read(ByteBuffer dst, long position)
Reads data from the channel.
long
Reads data from this channel.
long
Reads data from the channel.
long
Reads a sequence of bytes from this channel into the given buffers
long
Reads data from the channel.
long
DatagramChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from this channel.
long
FileChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from the channel.
long
ScatteringByteChannel.read(ByteBuffer[] srcs, int offset, int length)
Reads a sequence of bytes from this channel into a subsequence of the given buffers
long
SocketChannel.read(ByteBuffer[] dsts, int offset, int length)
Reads data from the channel.
SocketAddress
Receives a datagram via this channel.
void
Releases this lock.
int
Selects a set of keys whose corresponding channels are ready for I/O operations.
int
Selector.select(long timeout)
Selects a set of keys whose corresponding channels are ready for I/O operations.
int
Selects a set of keys whose corresponding channels are ready for I/O operations.
int
Sends a datagram via this channel.
long
Return the size of the file thus far
long
FileChannel.transferFrom(ReadableByteChannel src, long position, long count)
Transfers bytes from the given readable channel into this channel.
long
FileChannel.transferTo(long position, long count, WritableByteChannel target)
Transfers bytes from this channel's file to the given writable byte channel.
FileChannel
FileChannel.truncate(long size)
Truncates the channel's file at size.
FileLock
Tries to aqquire alock on the whole associated file.
FileLock
FileChannel.tryLock(long position, long size, boolean shared)
Tries to aqquire a lock on a region of the associated file.
int
Writes data to this channel.
int
Writes data to the channel.
int
Writes data to the channel.
int
Writes a sequence of bytes to this channel from the given buffer
int
FileChannel.write(ByteBuffer srcs, long position)
Writes data to the channel.
long
Writes data to this channel.
long
Writes data to the channel.
long
Writes a sequence of bytes to this channel from the given buffers
long
Writes data to the channel.
long
DatagramChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to this channel.
long
FileChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to the channel.
long
GatheringByteChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes a sequence of bytes to this channel from a subsequence of the given buffers
long
SocketChannel.write(ByteBuffer[] srcs, int offset, int length)
Writes data to the channel.

Uses in package java.io

Classes derived from java.io.IOException

class
This exception is thrown to indicate that a problem occurred with an attempted character conversion.
class
This exception is thrown when the end of the file or stream was encountered unexpectedly.
class
This exception is thrown when an attempt is made to access a file that does not exist, or is inaccessible for some other reason (such as writing a read-only file).
class
This exception is thrown when a in process I/O operation is interrupted for some reason.
class
This exception is thrown when there is some sort of problem with a class during a serialization operation.
class
This exception is thrown when an object fails a validation test during serialization.
class
This exception is thrown when a problem occurs due to the fact that serialization is not active.
class
This exception is thrown when a class implements Serializable because of a superclass, but should not be serialized.
class
This exception is thrown when a problem occurs during serialization.
class
This exception is thrown when unexpected data appears in the input stream from which a serialized object is being read.
class
This exception is thrown when there is an error in the data that is read from a stream during de-serialization.
class
Thrown when a file synchronization fails.
class
This exception is thrown when the requested character encoding is not supported.
class
When reading a UTF string from an input stream, this exception is thrown to indicate that the data read is invalid.
class
This exception is thrown when another ObjectStreamException occurs during a serialization read or write.

Constructors which throw type java.io.IOException

This method initializes a new FileWriter object to write to the specified File object.
FileWriter.FileWriter(File file, boolean append)
This method initializes a new FileWriter object to write to the specified File object.
This method intializes a new FileWriter object to write to the specified named file.
FileWriter.FileWriter(String name, boolean append)
This method intializes a new FileWriter object to write to the specified named file.
Protected constructor that allows subclasses to override deserialization.
Creates a new ObjectInputStream that will do all of its reading from in.
Protected constructor that allows subclasses to override serialization.
Creates a new ObjectOutputStream that will do all of its writing onto out.
This constructor creates a new PipedInputStream and connects it to the passed in PipedOutputStream.
Create a new PipedOutputStream instance to write to the specified PipedInputStream.
This constructor creates a new PipedReader and connects it to the passed in PipedWriter.
Create a new PipedWriter instance to write to the specified PipedReader.

Methods which throw type java.io.IOException

void
An empty hook that allows subclasses to write extra information about classes to the stream.
void
Writer
Writer.append(char c)
Writer
Writer
Writer.append(CharSequence cs, int start, int end)
int
This method returns the number of bytes that can be read from this stream before a read can block.
int
This method returns the number of bytes that can be read from this stream before a read can block.
int
Calls the in.available() method.
int
This method returns the number of bytes that can be read from this stream before a read can block.
int
This method returns the number of bytes that can be read from the stream before the stream can block.
int
This method returns the number of bytes that can be read without blocking.
int
int
This method returns the number of bytes that can be read from this stream before blocking could occur.
int
This method returns the number of bytes that can be read from this stream before a read can block.
int
This method returns the number of bytes than can be read from the currently being read subordinate stream before that stream could block.
void
This method closes the underlying input stream and frees any resources associated with it.
void
This method closes the underlying stream and frees any associated resources.
void
This method flushes any remaining buffered chars then closes the underlying output stream.
void
Closes the stream represented by this class, thus freeing system resources.
void
This method closes the stream.
void
This method closes the underlying file.
void
This method closes the input stream by closing the input stream that this object is filtering.
void
This method closes the underlying OutputStream.
void
This method closes the stream by calling the close() method of the underlying stream.
void
This method closes the underlying Writer.
void
This method closes the stream.
void
This method closes this stream, as well as the underlying InputStream.
void
This method closes the input source
void
Closes the stream represented by this class, thus freeing system resources.
void
This method closes the underlying stream.
void
void
This method closes the stream.
void
This method closes this stream, and the underlying OutputStream
void
This methods closes the stream so that no more data can be read from it.
void
This method closes this stream so that no more data can be written to it.
void
This methods closes the stream so that no more data can be read from it.
void
This method closes this stream so that no more data can be written to it.
void
This method closes the stream and releases any associated resources.
void
This method closes the stream and frees any associated resources.
void
This method closes the file and frees up all file related system resources.
void
Closes the stream.
void
Closes this stream.
void
This method closes the stream.
void
This method closes the stream.
void
Connects this object to the specified PipedInputStream object.
void
This method connects this stream to the passed in PipedOutputStream.
void
Connects this object to the specified PipedReader object.
void
This method connects this stream to the passed in PipedWriter.
boolean
This method creates a new file of zero length with the same name as the path of this File object if an only if that file does not already exist.
File
File.createTempFile(String prefix, String suffix)
This method creates a temporary file in the system temporary directory.
File
File.createTempFile(String prefix, String suffix, File directory)
This method creates a temporary file in the specified directory.
void
Reads the current objects non-transient, non-static fields from the current class from the underlying output stream.
void
Writes the current objects non-transient, non-static fields from the current class to the underlying output stream.
boolean
void
Causes the block-data buffer to be written to the underlying stream, but does not flush underlying stream.
void
Called on an object by the Virtual Machine at most once, at some point after the Object is determined unreachable but before it is destroyed.
void
void
This method causes any currently buffered bytes to be immediately written to the underlying output stream.
void
This method causes any currently buffered chars to be immediately written to the underlying output stream.
void
This method flushes any unwritten bytes to the underlying stream.
void
This method attempt to flush all buffered output to be written to the underlying output sink.
void
This method attempt to flush all buffered output to be written to the underlying output sink.
void
Flushes the stream represented by this class, so that any buffered data is written to the stream.
void
This method causes any buffered data to be flushed out to the underlying stream
void
void
This method forces any data that may have been buffered to be written to the underlying output device.
void
This method flushes any buffered bytes to the underlying output sink.
void
This method does nothing.
void
This method does nothing.
void
This method forces any data that may have been buffered to be written to the underlying output device.
boolean
ObjectInputStream.GetField.get(String name, boolean defvalue)
byte
ObjectInputStream.GetField.get(String name, byte defvalue)
char
ObjectInputStream.GetField.get(String name, char defvalue)
double
ObjectInputStream.GetField.get(String name, double defvalue)
float
ObjectInputStream.GetField.get(String name, float defvalue)
int
ObjectInputStream.GetField.get(String name, int defvalue)
Object
long
ObjectInputStream.GetField.get(String name, long defvalue)
short
ObjectInputStream.GetField.get(String name, short defvalue)
File
This method returns a File object representing the canonical path of this object.
String
This method returns a canonical representation of the pathname of this file.
FileDescriptor
This method returns a FileDescriptor object representing the underlying native file handle of the file this stream is reading from
FileDescriptor
This method returns a FileDescriptor object representing the file that is currently being written to
FileDescriptor
This method returns a FileDescriptor object that represents the native file handle for this file.
long
This method returns the current offset in the file at which the next read or write will occur
long
This method returns the length of the file in bytes
void
BufferedReader.mark(int readLimit)
Mark a position in the input to which the stream can be "reset" by calling the reset() method.
void
CharArrayReader.mark(int readAheadLimit)
This method sets the mark position in this stream to the current position.
void
FilterReader.mark(int readlimit)
Calls the in.mark(int) method.
void
LineNumberReader.mark(int readLimit)
This method marks a position in the input to which the stream can be "reset" char calling the reset() method.
void
PushbackReader.mark(int read_limit)
This method throws an exception when called since this class does not support mark/reset.
void
Reader.mark(int readLimit)
Marks a position in the input to which the stream can be "reset" by calling the reset() method.
void
StringReader.mark(int readAheadLimit)
void
This method writes out a system depedent line separator sequence.
int
This method reads the next token from the stream.
ObjectOutputStream.PutField
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
Reads an char from the input stream and returns it as an int in the range of 0-65535.
int
This method reads one char from the stream.
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
Calls the in.read() method
int
Calls the in.read() method
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
Reads an char from the input stream and returns it as an int in the range of 0-65535.
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
This method reads an unsigned char from the input stream and returns it as an int in the range of 0-65535.
int
This method reading a byte of data from a stream.
int
int
This method reads one byte from the stream.
int
This method reads chars from the stream into a caller supplied buffer.
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
This method reads an unsigned char from the input stream and returns it as an int in the range of 0-65535.
int
This method reads a single byte of data from the file and returns it as an integer.
int
Reads an char from the input stream and returns it as an int in the range of 0-65535.
int
This method reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
int
Reader.read(buf[] )
Reads chars from a stream and stores them into a caller supplied buffer.
int
Reader.read(buf[] , int offset, int count)
Read chars from a stream and stores them into a caller supplied buffer.
int
This method reads bytes from the underlying stream into the specified byte array buffer.
int
FileInputStream.read(byte[] buf)
This method reads bytes from a stream and stores them into a caller supplied buffer.
int
FilterInputStream.read(byte[] buf)
Calls the read(byte[], int, int) overloaded method.
int
InputStream.read(byte[] b)
This method reads bytes from a stream and stores them into a caller supplied buffer.
int
ObjectInput.read(byte[] buf)
This method reads raw bytes and stores them them a byte array buffer.
int
RandomAccessFile.read(byte[] buffer)
This method reads bytes from the file into the specified array.
int
BufferedInputStream.read(byte[] b, int off, int len)
This method reads bytes from a stream and stores them into a caller supplied buffer.
int
DataInputStream.read(byte[] b, int off, int len)
This method reads bytes from the underlying stream into the specified byte array buffer.
int
FileInputStream.read(byte[] buf, int offset, int len)
This method read bytes from a stream and stores them into a caller supplied buffer.
int
FilterInputStream.read(byte[] buf, int offset, int len)
Calls the in.read(byte[], int, int) method.
int
InputStream.read(byte[] b, int off, int len)
This method read bytes from a stream and stores them into a caller supplied buffer.
int
LineNumberInputStream.read(byte[] b, int off, int len)
This method reads bytes from a stream and stores them into a caller supplied buffer.
int
ObjectInput.read(byte[] buf, int offset, int len)
This method reads raw bytes and stores them in a byte array buffer buf starting at position offset into the buffer.
int
ObjectInputStream.read(byte[] data, int offset, int length)
int
PipedInputStream.read(byte[] buf, int offset, int len)
This method reads bytes from the stream into a caller supplied buffer.
int
PushbackInputStream.read(byte[] b, int off, int len)
This method read bytes from a stream and stores them into a caller supplied buffer.
int
RandomAccessFile.read(byte[] buffer, int offset, int len)
This methods reads up to len bytes from the file into the specified array starting at position offset into the array.
int
SequenceInputStream.read(byte[] b, int off, int len)
This method reads bytes from a stream and stores them into a caller supplied buffer.
int
BufferedReader.read(char[] buf, int offset, int count)
This method read chars from a stream and stores them into a caller supplied buffer.
int
CharArrayReader.read(char[] b, int off, int len)
This method reads chars from the stream and stores them into a caller supplied buffer.
int
FilterReader.read(char[] buf, int offset, int len)
Calls the in.read(char[], int, int) method.
int
InputStreamReader.read(char[] buf, int offset, int length)
This method reads up to length characters from the stream into the specified array starting at index offset into the array.
int
LineNumberReader.read(char[] buf, int offset, int count)
This method reads chars from a stream and stores them into a caller supplied buffer.
int
PipedReader.read(char[] buf, int offset, int len)
This method reads characters from the stream into a caller supplied buffer.
int
PushbackReader.read(char[] buffer, int offset, int length)
This method read chars from a stream and stores them into a caller supplied buffer.
int
StringReader.read(char[] b, int off, int len)
int
boolean
This method reads a Java boolean value from an input stream.
boolean
This method reads a Java boolean value from an input stream.
boolean
boolean
This method reads a Java boolean value from an input stream.
byte
This method reads a Java byte value from an input stream.
byte
This method reads a Java byte value from an input stream.
byte
byte
This method reads a Java byte value from an input stream.
char
This method reads a Java char value from an input stream.
char
This method reads a Java char value from an input stream.
char
char
This method reads a Java char value from an input stream.
ObjectStreamClass
This method reads a class descriptor from the real input stream and use these data to create a new instance of ObjectStreamClass.
double
This method reads a Java double value from an input stream.
double
This method reads a Java double value from an input stream.
double
double
This method reads a Java double value from an input stream.
void
This method restores an object's state by reading in the instance data for the object from the passed in stream.
ObjectInputStream.GetField
This method should be called by a method called 'readObject' in the deserializing class (if present).
float
This method reads a Java float value from an input stream.
float
This method reads a Java float value from an input stream.
float
float
This method reads a Java float value from an input stream.
void
DataInput.readFully(byte[] buf)
This method reads raw bytes into the passed array until the array is full.
void
This method reads raw bytes into the passed array until the array is full.
void
RandomAccessFile.readFully(byte[] buffer)
This method reads raw bytes into the passed array until the array is full.
void
DataInput.readFully(byte[] buf, int offset, int len)
This method reads raw bytes into the passed array buf starting offset bytes into the buffer.
void
DataInputStream.readFully(byte[] buf, int offset, int len)
This method reads raw bytes into the passed array buf starting offset bytes into the buffer.
void
RandomAccessFile.readFully(byte[] buffer, int offset, int count)
This method reads raw bytes into the passed array buf starting offset bytes into the buffer.
void
void
ObjectInputStream.readFully(data[] , int offset, int size)
int
This method reads a Java int value from an input stream It operates by reading four bytes from the stream and converting them to a single Java int.
int
This method reads a Java int value from an input stream It operates by reading four bytes from the stream and converting them to a single Java int.
int
int
This method reads a Java int value from an input stream It operates by reading four bytes from the stream and converting them to a single Java int The bytes are stored most significant byte first (i.e., "big endian") regardless of the native host byte ordering.
String
This method reads a single line of text from the input stream, returning it as a String.
String
This method reads the next line of text data from an input stream.
String
This method reads the next line of text data from an input stream.
String
This method reads a line of text from the input stream and returns it as a String.
String
String
This method reads the next line of text data from an input stream.
long
This method reads a Java long value from an input stream It operates by reading eight bytes from the stream and converting them to a single Java long.
long
This method reads a Java long value from an input stream It operates by reading eight bytes from the stream and converting them to a single Java long.
long
long
This method reads a Java long value from an input stream It operates by reading eight bytes from the stream and converting them to a single Java long The bytes are stored most significant byte first (i.e., "big endian") regardless of the native host byte ordering.
Object
Reads an object instance and returns it.
Object
Returns the next deserialized object read from the underlying stream.
Object
This method allows subclasses to override the default de serialization mechanism provided by ObjectInputStream.
short
This method reads a signed 16-bit value into a Java in from the stream.
short
This method reads a signed 16-bit value into a Java in from the stream.
short
short
This method reads a signed 16-bit value into a Java in from the stream.
void
Reads stream magic and stream version information from the underlying stream.
String
This method reads a String from an input stream that is encoded in a modified UTF-8 format.
String
This method reads a String from an input stream that is encoded in a modified UTF-8 format.
String
String
This method reads a String from an input stream that is encoded in a modified UTF-8 format.
String
This method reads a String encoded in UTF-8 format from the specified DataInput source.
Object
Returns the next deserialized object read from the underlying stream in an unshared manner.
int
This method reads 8 unsigned bits into a Java int value from the stream.
int
This method reads 8 unsigned bits into a Java int value from the stream.
int
int
This method reads 8 unsigned bits into a Java int value from the stream.
int
This method reads 16 unsigned bits into a Java int value from the stream.
int
This method reads 16 unsigned bits into a Java int value from the stream.
int
int
This method reads 16 unsigned bits into a Java int value from the stream.
boolean
This method determines whether or not a stream is ready to be read.
boolean
Return true if more characters are available to be read.
boolean
Calls the in.read() method.
boolean
This method checks to see if the stream is ready to be read.
boolean
Determines whether or not this stream is ready to be read.
boolean
This method determines whether or not this stream is ready to be read.
boolean
Determines whether or not this stream is ready to be read.
boolean
This method determines if the stream is ready to be read.
void
This method receives a byte of input from the source PipedOutputStream.
Object
Allows subclasses to replace objects that are written to the stream with other objects to be written in their place.
void
This method resets a stream to the point where the mark() method was called.
void
Reset the stream to the point where the mark() method was called.
void
This method sets the read position in the stream to the mark point by setting the pos variable equal to the mark variable.
void
Calls the in.reset() method.
void
Calls the in.reset() method.
void
This method resets a stream to the point where the mark() method was called.
void
This method resets a stream to the point where the mark() method was called.
void
This method resets a stream to the point where the mark() method was called.
void
Resets stream to state equivalent to the state just after it was constructed.
void
This method always throws an IOException in this class because mark/reset functionality is not supported.
void
This method always throws an IOException in this class because mark/reset functionality is not supported.
void
Resets a stream to the point where the mark() method was called.
void
Sets the read position in the stream to the previously marked position or to 0 (i.e., the beginning of the stream) if the mark has not already been set.
Class
Called when a class is being deserialized.
Object
Allows subclasses to resolve objects that are read from the stream with other objects to be returned in their place.
Class
void
This method sets the current file position to the specified offset from the beginning of the file.
void
This method sets the length of the file to the specified length.
long
This method skips the specified number of bytes in the stream.
long
BufferedReader.skip(long count)
This method skips the specified number of chars in the stream.
long
This method attempts to skip the requested number of chars in the input stream.
long
FileInputStream.skip(long numBytes)
This method skips the specified number of bytes in the stream.
long
FilterInputStream.skip(long numBytes)
Calls the in.skip(long) method
long
FilterReader.skip(long num_chars)
Calls the in.skip(long) method
long
InputStream.skip(long n)
This method skips the specified number of bytes in the stream.
long
InputStreamReader.skip(long count)
Skips the specified number of chars in the stream.
long
This method skips up to the requested number of bytes in the input stream.
long
LineNumberReader.skip(long count)
This method skips over characters in the stream.
long
ObjectInput.skip(long numBytes)
This method causes the specified number of bytes to be read and discarded.
long
This method skips the specified number of bytes in the stream.
long
PushbackReader.skip(long num_chars)
This method skips the specified number of chars in the stream.
long
Reader.skip(long count)
Skips the specified number of chars in the stream.
long
This method attempts to skip the requested number of chars in the input stream.
int
DataInput.skipBytes(int numBytes)
This method skips and discards the specified number of bytes in an input stream.
int
This method attempts to skip and discard the specified number of bytes in the input stream.
int
int
This method attempts to skip and discard the specified number of bytes in the input stream.
void
This method pushes all of the bytes in the passed byte array into the pushback bfer.
void
PushbackInputStream.unread(byte[] b, int off, int len)
This method pushed back bytes from the passed in array into the pushback buffer.
void
PushbackReader.unread(char[] buf)
This method pushes all of the chars in the passed char array into the pushback buffer.
void
PushbackReader.unread(char[] buffer, int offset, int length)
This method pushed back chars from the passed in array into the pushback buffer.
void
This method pushes a single byte of data into the pushback buffer.
void
This method pushes a single char of data into the pushback buffer.
void
Informs this ObjectOutputStream to write data according to the specified protocol.
void
DataOutput.write(byte[] buf)
This method writes the raw byte array passed in to the output stream.
void
FileOutputStream.write(byte[] buf)
This method writes all the bytes in the specified array to the file.
void
This method writes all the bytes in the specified array to the underlying OutputStream.
void
ObjectOutput.write(byte[] buf)
This method writes all the bytes in the specified byte array to the output stream.
void
void
OutputStream.write(byte[] b)
This method all the writes bytes from the passed array to the output stream.
void
RandomAccessFile.write(byte[] buffer)
This method writes all the bytes in the specified array to the file.
void
BufferedOutputStream.write(byte[] buf, int offset, int len)
This method writes len bytes from the byte array buf starting at position offset in the buffer.
void
DataOutput.write(byte[] buf, int offset, int len)
This method writes raw bytes from the passed array buf starting offset bytes into the buffer.
void
DataOutputStream.write(byte[] buf, int offset, int len)
This method writes len bytes from the specified byte array buf starting at position offset into the buffer to the underlying output stream.
void
FileOutputStream.write(byte[] buf, int offset, int len)
This method writes len bytes from the byte array buf to the file starting at index offset.
void
FilterOutputStream.write(byte[] buf, int offset, int len)
This method calls the write(int) method len times for all bytes from the array buf starting at index offset.
void
ObjectOutput.write(byte[] buf, int offset, int len)
This method writes len bytes from the specified array starting at index offset into that array.
void
ObjectOutputStream.write(byte[] b, int off, int len)
void
OutputStream.write(byte[] b, int off, int len)
This method writes len bytes from the specified array b starting at index off into the array.
void
PipedOutputStream.write(byte[] buffer, int offset, int len)
This method writes len bytes of data from the byte array buf starting at index offset in the array to the stream.
void
RandomAccessFile.write(byte[] buffer, int offset, int len)
This method writes len bytes to the file from the specified array starting at index offset into the array.
void
Writer.write(char[] buf)
This method all the writes char from the passed array to the output stream.
void
BufferedWriter.write(char[] buf, int offset, int len)
This method writes len chars from the char array buf starting at position offset in the buffer.
void
FilterWriter.write(char[] buf, int offset, int len)
This method writes len chars from the array buf starting at index offset to the underlying Writer.
void
OutputStreamWriter.write(char[] buf, int offset, int count)
This method writes count characters from the specified array to the output stream starting at position offset into the array.
void
PipedWriter.write(char[] buffer, int offset, int len)
This method writes len chars of data from the char array buf starting at index offset in the array to the stream.
void
Writer.write(char[] buf, int offset, int len)
This method writes len char from the specified array buf starting at index offset into the array.
void
This method writes a single byte of data.
void
BufferedWriter.write(int oneChar)
This method writes a single char of data.
void
DataOutput.write(int value)
This method writes an 8-bit value (passed into the method as a Java int) to an output stream.
void
This method writes the specified byte (passed as an int) to the underlying output stream.
void
This method writes a single byte of data to the file.
void
This method writes a single byte of output to the underlying OutputStream.
void
This method writes a single char of output to the underlying Writer.
void
This method writes the specified byte to the output stream.
void
void
This method writes a single byte to the output stream.
void
This method writes a single character to the output stream.
void
Write a single byte of date to the stream.
void
Write a single char of date to the stream.
void
RandomAccessFile.write(int oneByte)
This method writes a single byte of data to the file.
void
Writer.write(int b)
This method writes a single char to the output stream.
void
void
This method writes all the characters in a String to the output.
void
BufferedWriter.write(String str, int offset, int len)
This method writes len chars from the String str starting at position offset in the string.
void
FilterWriter.write(String str, int offset, int len)
This method writes len chars from the String starting at position offset.
void
OutputStreamWriter.write(String str, int offset, int count)
This method writes count bytes from the specified String starting at position offset into the String.
void
Writer.write(String str, int offset, int len)
This method writes len chars from the String starting at position offset.
void
DataOutput.writeBoolean(boolean value)
This method writes a Java boolean value to an output stream.
void
This method writes a Java boolean value to an output stream.
void
void
This method writes a Java boolean to the underlying output stream.
void
DataOutput.writeByte(int value)
This method writes a Java byte value to an output stream.
void
This method writes a Java byte value to an output stream.
void
void
This method writes a Java byte value to the underlying output stream.
void
This method writes all the bytes in a String out to the stream.
void
This method writes all the bytes in a String out to the stream.
void
void
This method writes all the bytes in a String out to the stream.
void
DataOutput.writeChar(int value)
This method writes a Java char value to an output stream.
void
This method writes a Java char value to an output stream.
void
void
This method writes a single char value to the stream, high byte first.
void
This method writes all the characters of a String to an output stream as an array of char's.
void
This method writes all the characters of a String to an output stream as an array of char's.
void
void
This method writes all the characters in a String to the stream.
void
void
DataOutput.writeDouble(double value)
This method writes a Java double value to the stream.
void
This method writes a Java double value to the stream.
void
void
This method writes a Java double value to the stream.
void
This method is responsible for writing the instance data of an object to the passed in stream.
void
void
DataOutput.writeFloat(float value)
This method writes a Java float value to the stream.
void
This method writes a Java float value to the stream.
void
void
This method writes a Java float value to the stream.
void
DataOutput.writeInt(int value)
This method writes a Java int value to an output stream.
void
This method writes a Java int value to an output stream.
void
void
This method writes a Java int to the stream, high bytes first.
void
DataOutput.writeLong(long value)
This method writes a Java long value to an output stream.
void
This method writes a Java long value to an output stream.
void
void
This method writes a Java long to the stream, high bytes first.
void
This method writes a object instance to a stream.
void
Writes a representation of obj to the underlying output stream by writing out information about its class, then writing out each of the objects non-transient, non-static fields.
void
This method allows subclasses to override the default serialization mechanism provided by ObjectOutputStream.
void
This method writes a Java short value to an output stream.
void
This method writes a Java short value to an output stream.
void
void
This method writes a Java short to the stream, high byte first.
void
Writes stream magic and stream version information to the underlying stream.
void
This method writes all the bytes that have been written to this stream from the internal buffer to the specified OutputStream.
void
This method writes all the chars that have been written to this stream from the internal buffer to the specified Writer.
void
This method writes a Java String to the stream in a modified UTF-8 format.
void
This method writes a Java String to the stream in a modified UTF-8 format.
void
void
This method writes a Java String to the stream in a modified UTF-8 format.
void
Writes an object to the stream in the same manner as writeObject(Object), but without the use of references.

Uses in package java.beans

Methods which throw type java.io.IOException

Object
Creates a bean.
Object
Beans.instantiate(ClassLoader cl, String beanName, BeanContext beanContext)
Creates a bean.
Object
Beans.instantiate(ClassLoader cl, String beanName, BeanContext beanContext, AppletInitializer initializer)
Instantiates a bean according to Beans 1.0.

Uses in package javax.print

Methods which throw type java.io.IOException

Doc
Returns the current document.
Object
Returns the print data of this doc object.
Object
Returns the print data of this doc object.
Reader
Returns a Reader object for extracting character print data from this document.
Reader
Returns a Reader object for extracting character print data from this document.
InputStream
Returns an InputStream object for extracting byte print data from this document.
InputStream
Returns an InputStream object for extracting byte print data from this document.
MultiDoc
Returns the next MultiDoc object that contains the next document for retrieval.

Uses in package java.rmi

Classes derived from java.io.IOException

class
Thrown to indicate that the caller does not have permission to access certain data, such as bind in an ActivationSystem.
class
Thrown if a connection is refused for a remote call.
class
Wraps an I/O Exception thrown while connecting for a remote call.
class
Thrown if an exception occurs while marshalling data to send in a remote call.
class
Thrown on an attempt to invoke a call on an object that no longer exists in the remote Virtual Machine.
class
The superclass of exceptions related to RMI (remote method invocation).
class
Wraps any error thrown while processing the server of a remote call.
class
Wraps any exception thrown while processing the server of a remote call.
class
Wraps any runtime exception thrown while processing the server of a remote call.
class
Thrown if a valid stub class is not found for an object when it is exported.
class
Thrown if an unexpected checked exception was received in a remote procedure call.
class
Thrown if a java.net.UnknownHostException occurs during a remote procedure call.
class
Thrown if an exception occurs while unmarshalling parameters or results of a remote method call.

Constructors which throw type java.io.IOException

Constructs a MarshalledObject from the given object.

Methods which throw type java.io.IOException

Object
Constructs and returns a copy of the internal serialized object.

Uses in package java.util.prefs

Methods which throw type java.io.IOException

void
Export this node, but not its descendants, as XML to the indicated output stream.
void
Export this node, but not its descendants, as XML to the indicated output stream.
void
Export this node and all its descendants as XML to the indicated output stream.
void
Export this node and all its descendants as XML to the indicated output stream.
void
Import preferences from the given input stream.

Uses in package javax.rmi.ssl

Methods which throw type java.io.IOException

ServerSocket
Creates an SSLServerSocket on a given port
Socket
Creates an SSLSocket on a given port

Uses in package javax.sound.midi

Methods which throw type java.io.IOException

MidiFileFormat
Read a MidiFileFormat object from the given file.
MidiFileFormat
Read a MidiFileFormat object from the given stream.
MidiFileFormat
Read a MidiFileFormat object from the given url.
Sequence
Read a Sequence object from the given file.
Sequence
Read a Sequence object from the given stream.
Sequence
Read a Sequence object from the given url.
Soundbank
Read a Soundbank object from the given file.
Soundbank
Read a Soundbank object from the given stream.
Soundbank
Read a Soundbank object from the given url.
void
Set the sequence for this sequencer. istream reads on a valid MIDI file.
int
MidiSystem.write(Sequence in, int fileType, File out)
Write a sequence to a file using a specific MIDI file format.
int
MidiSystem.write(Sequence in, int fileType, OutputStream out)
Write a sequence to an output stream using a specific MIDI file format.

Uses in package javax.transaction

Classes derived from java.io.IOException

class
class
class

Uses in package java.awt

Methods which throw type java.io.IOException

void
Launches the Desktop default browser to open the given uri.
Font
Font.createFont(int fontFormat, File file)
Creates a new font from a File object.
Font
Font.createFont(int fontFormat, InputStream is)
Creates a new font with point size 1 and PLAIN style, reading font data from the provided input stream.
void
Launch the edit command to edit this file.
void
Launches the Desktop default mailer.
void
Desktop.mail(URI mailtoURI)
Launches the Desktop default mailer, with the given mailtoURI as agrument.
void
Launches the Desktop default application to open the given File.
void
Launch the print program to print this file.
void
Saves a Serializable listener chain to a serialization stream.
void
Saves all Serializable listeners to a serialization stream.

Uses in package org.xml.sax.ext

Methods which throw type java.io.IOException

InputSource
Tells the parser that if no external subset has been declared in the document text, none should be used.
InputSource
Allows applications to provide an external subset for documents that don't explicitly define one.
InputSource
Invokes EntityResolver2.resolveEntity() with null entity name and base URI.
InputSource
DefaultHandler2.resolveEntity(String name, String publicId, String baseURI, String systemId)
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.
InputSource
EntityResolver2.resolveEntity(String name, String publicId, String baseURI, String systemId)
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution.

Uses in package java.awt.print

Constructors with parameter type java.io.IOException

Initializes a new instance with the given cause.

Methods with return type java.io.IOException

IOException
Gets the underlying IOException that caused this exception.

Uses in package java.lang.management

Methods which throw type java.io.IOException

ManagementFactory.T newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class mxbeanInterface)
Returns a proxy for the specified platform bean.

Uses in package java.security.cert

Constructors which throw type java.io.IOException

Create a new PolicyQualifierInfo object from the DER encoded form passed in the byte array.

Methods which throw type java.io.IOException

void
Add an issuer name to the set of issuer names criteria, as the DER encoded form.
void
Add an issuer name to the set of issuer names criteria, as a String representation.
void
X509CertSelector.addPathToName(int id, byte[] name)
Add a name to match in the NameConstraints extension.
void
Add a name to match in the NameConstraints extension.
void
Add a name, as DER-encoded bytes, to the subject alternative names criterion.
void
Add a name to the subject alternative names criterion.
byte[]
Returns the issuer criterion as a sequence of DER bytes, or null if this value was not set.
byte[]
Returns the subject criterion as a sequence of DER bytes, or null if this value is not set.
void
Sets the extended key usage criterion, as a set of OID strings.
void
Sets the issuer, specified as the DER encoding of the issuer's distinguished name.
void
Sets the issuer, specified as a string representation of the issuer's distinguished name.
void
X509CRLSelector.setIssuerNames(Collection names)
Sets the issuer names criterion.
void
X509CertSelector.setNameConstraints(byte[] nameConstraints)
Sets the name constraints criterion; specify null to clear this criterion.
void
X509CertSelector.setPathToNames(Collection> names)
Sets the pathToNames criterion.
void
Sets the certificate policy to match, or null if this criterion should not be checked.
void
Sets the subject, specified as the DER encoding of the subject's distinguished name.
void
Sets the subject, specified as a string representation of the subject's distinguished name.
void
Sets the subject alternative names critertion.
void
Sets the subject public key criterion as a DER-encoded key.
void
Sets the public key algorithm ID that matching certificates must have.

Uses in package java.lang

Methods which throw type java.io.IOException

Appendable
Appends the Unicode character, c, to this Appendable object.
Appendable
Appends the specified sequence of Unicode characters to this Appendable object.
Appendable
Appendable.append(CharSequence seq, int start, int end)
Appends the specified subsequence of Unicode characters to this Appendable object, starting and ending at the specified positions within the sequence.
Process
Runtime.exec(String cmdline)
Create a new subprocess with the specified command line.
Process
Runtime.exec(String cmdline, String[] env)
Create a new subprocess with the specified command line and environment.
Process
Runtime.exec(String cmdline, String[] env, File dir)
Create a new subprocess with the specified command line, environment, and working directory.
Process
Create a new subprocess with the specified command line, already tokenized.
Process
Runtime.exec(String[] cmd, String[] env)
Create a new subprocess with the specified command line, already tokenized, and specified environment.
Process
Runtime.exec(String[] cmd, String[] env, File dir)
Create a new subprocess with the specified command line, already tokenized, and the specified environment and working directory.
Enumeration
Called whenever all locations of a named resource are needed.
Enumeration
Returns an Enumeration of all resources with a given name that can be found by this classloader and its parents.
Enumeration
Get an Enumeration of URLs to resources with a given name using the the system classloader.
Channel
Returns the inherited channel of the VM.
int
Adds the character data supplied by this Readable to the specified character buffer.
Process
Starts execution of a new process, based on the attributes of this ProcessBuilder object.

Uses in package javax.net.ssl

Classes derived from java.io.IOException

class
The superclass of all possible SSL exceptions.
class
An exception that signals an error in the SSL handshake phase.
class
An exception signaling a problem using a public or private key in an SSL communication.
class
An exception thrown when the remote peer could not be verified.
class
An exception thrown when a fatal protocol error is encountered.

Constructors which throw type java.io.IOException

SSLServerSocket.SSLServerSocket(int port, int backlog)
SSLServerSocket.SSLServerSocket(int port, int backlog, InetAddress bindAddress)
SSLSocket.SSLSocket(String host, int port)
SSLSocket.SSLSocket(String host, int port, InetAddress localAddr, int localPort)
SSLSocket.SSLSocket(InetAddress address, int port)
SSLSocket.SSLSocket(InetAddress address, int port, InetAddress localAddr, int localPort)

Methods which throw type java.io.IOException

Socket
SSLSocketFactory.createSocket(Socket socket, String host, int port, boolean autoClose)
Creates a SSL socket wrapped around an existing socket.
void
Explicitly begins the handshake, or, if the handshake has already completed, requests that the handshake be repeated.

Uses in package javax.swing.text.html

Methods which throw type java.io.IOException

void
Closes out an unwanted embedded tag.
void
Writes out the comment.
void
Writes out an empty tag. i.e. a tag without any child elements.
void
Ends a span tag.
void
Writes out an end tag.
void
Inserts the string after the end of the given element.
void
Inserts the string at the start of the element.
void
Inserts the string at the end of the element.
void
Inserts the string before the start of the given element.
void
HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
Inserts HTML into an existing document.
void
Loads a set of rules that have been specified in terms of CSS grammar.
void
HTMLWriter.output(char[] chars, int off, int len)
Write to the writer.
void
HTMLEditorKit.Parser.parse(Reader reader, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)
Parse the HTML text, calling various methods of the provided callback in response to the occurence of the corresponding HTML constructions.
void
HTMLEditorKit.read(Reader in, Document doc, int pos)
Inserts content from the given stream.
void
Writes out the contents of a select element.
void
Replaces the children of the given element with the contents of the string.
void
Replaces the given element in the parent with the string.
void
Starts a span tag.
void
Writes out a start tag.
void
HTMLWriter.text(Element paramElem)
Writes out text, within the appropriate range if it is specified.
void
Output the text of the indicated Element, properly clipping it to the range of the Document specified when the AbstractWriter was created.
void
Writes out the contents of a textarea.
void
Call this method to start outputing HTML.
void
Write the entire HTML document.
void
HTMLEditorKit.write(Writer out, Document doc, int pos, int len)
Writes content from a document to the given stream in an appropriate format.
void
Writes all the attributes in the attrSet, except for attrbutes with keys of javax.swing.text.html.HTML.Tag, javax.swing.text.StyleConstants or javax.swing.text.html.HTML.Attribute.ENDTAG.
void
Write a set of attributes.
void
Writes the body of the HTML document.
void
Deliberately unimplemented, handles component elements.
void
MinimalHTMLWriter.writeContent(Element elem, boolean needsIndenting)
Writes the content of an element.
void
Writes out an embedded tag.
void
Write a paragraph end tag, closes any other open tags.
void
Write an ending tag and decrement the indent.
void
Write bold, indent and underline tags.
void
Write the HTML header.
void
Deliberately unimplemented.
void
Writes a non-text leaf element.
void
Writes out a line separator.
void
Write the HTML attributes which do not have tag equivalents, e.g. attributes other than bold/italic/underlined.
void
Writes out the contents of an option element.
void
Write a paragraph start tag.
void
Write a start tag and increment the indent.
void
Write the styles used.

Uses in package javax.activity

Classes derived from java.io.IOException

class
Exception wrapper for CORBA.ACTIVITY_COMPLETED.
class
Exception wrapper for CORBA.ACTIVITY_REQUIRED
class
Exception wrapper for CORBA.INVALID_ACTIVITY.

Uses in package javax.imageio

Classes derived from java.io.IOException

class
A runtime exception to indicate image reading and writing failures.

Methods which throw type java.io.IOException

boolean
ImageWriter.canInsertEmpty(int imageIndex)
Check whether a new empty image can be inserted at the given frame index.
boolean
ImageWriter.canInsertImage(int imageIndex)
Check whether an image can be inserted at the given frame index.
boolean
ImageWriter.canRemoveImage(int imageIndex)
Check whether an image can be removed from the given frame index.
boolean
Check whether the metadata associated the image at the given frame index can be replaced.
boolean
ImageWriter.canReplacePixels(int imageIndex)
Check whether the pixels within the image at the given index can be replaced.
boolean
Check whether the metadata associated the entire image stream can be replaced.
boolean
Check whether an entire empty image, including empty metadata and empty thumbnails, can be written to the output stream, leaving pixel values to be filled in later using the replacePixels methods.
ImageInputStream
Create an image input stream from the given object.
ImageOutputStream
Create an image output stream from the given object.
void
Complete inserting an empty image in the output stream.
void
Complete replacing pixels in an image in the output stream.
void
Complete writing an empty image to the image output stream.
void
Complete writing a sequence of images to the output stream.
float
ImageReader.getAspectRatio(int imageIndex)
Returns the aspect ratio of this image, the ration of its width to its height.
String
Retrieve the format of the input source.
int
ImageReader.getHeight(int imageIndex)
Get the height of the input image in pixels.
IIOMetadata
ImageReader.getImageMetadata(int imageIndex)
Get the metadata associated with this image.
IIOMetadata
ImageReader.getImageMetadata(int imageIndex, String formatName, Set nodeNames)
Get the metadata associated with this image.
Iterator
ImageReader.getImageTypes(int imageIndex)
Get an iterator over the collection of image types into which this reader can decode image data.
int
ImageReader.getNumImages(boolean allowSearch)
Return the number of images available from the image input source, not including thumbnails.
int
ImageReader.getNumThumbnails(int imageIndex)
Get the number of thumbnails associated with an image.
ImageTypeSpecifier
ImageReader.getRawImageType(int imageIndex)
Get the image type specifier that most closely represents the internal data representation used by this reader.
IIOMetadata
Get the metadata associated with the image being read.
IIOMetadata
ImageReader.getStreamMetadata(String formatName, Set nodeNames)
Get the metadata associated with the image being read.
int
ImageReader.getThumbnailHeight(int imageIndex, int thumbnailIndex)
Get the height of a thumbnail image.
int
ImageReader.getThumbnailWidth(int imageIndex, int thumbnailIndex)
Get the width of a thumbnail image.
int
Get the X coordinate in pixels of the top-left corner of the first tile in this image.
int
Get the Y coordinate in pixels of the top-left corner of the first tile in this image.
int
ImageReader.getTileHeight(int imageIndex)
Get the height of an image tile.
int
ImageReader.getTileWidth(int imageIndex)
Get the width of an image tile.
int
ImageReader.getWidth(int imageIndex)
Get the width of the input image in pixels.
boolean
ImageReader.hasThumbnails(int imageIndex)
Check whether or not the given image has thumbnails associated with it.
boolean
ImageReader.isImageTiled(int imageIndex)
Check if the given image is sub-divided into equal-sized non-overlapping pixel rectangles.
boolean
Check if all pixels in this image are readily accessible.
void
ImageWriter.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, BufferedImage> thumbnails, ImageWriteParam param)
Start inserting an empty image in the image output stream.
void
ImageWriter.prepareReplacePixels(int imageIndex, Rectangle region)
Start the replacement of pixels within an image in the output stream.
void
ImageWriter.prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, BufferedImage> thumbnails, ImageWriteParam param)
Start writing an empty image to the end of the image output stream.
void
Start the writing of a sequence of images.
BufferedImage
ImageReader.read(int imageIndex)
Read the given frame all at once, using default image read parameters, and return a buffered image.
BufferedImage
ImageReader.read(int imageIndex, ImageReadParam param)
Read the given frame into a buffered image using the given read parameters.
BufferedImage
ImageIO.read(File input)
Create a buffered image from a file.
BufferedImage
Create a buffered image from an input stream.
BufferedImage
ImageIO.read(URL input)
Create a buffered image from a URL.
BufferedImage
Create a buffered image from an image input stream.
Iterator
ImageReader.readAll(ImageReadParam> params)
Read all image frames all at once, using the given image read parameters iterator, and return an iterator over a collection of IIOImages.
IIOImage
ImageReader.readAll(int imageIndex, ImageReadParam param)
Read the given frame all at once, using the given image read parameters, and return an IIOImage.
RenderedImage
Read a rendered image.
Raster
ImageReader.readRaster(int imageIndex, ImageReadParam param)
Read raw raster data.
BufferedImage
ImageReader.readThumbnail(int imageIndex, int thumbnailIndex)
Read a thumbnail.
BufferedImage
ImageReader.readTile(int imageIndex, int tileX, int tileY)
Read the given tile into a buffered image.
Raster
ImageReader.readTileRaster(int imageIndex, int tileX, int tileY)
Read the given tile into a raster containing the raw image data.
void
ImageWriter.removeImage(int imageIndex)
Remove the image at the specified index from the output stream.
void
ImageWriter.replaceImageMetadata(int imageIndex, IIOMetadata imageMetadata)
Replace the metadata associated with the image at the given index.
void
Replace a region of an image in the output stream with a portion of the given raster data.
void
Replace a region of an image in the output stream with a portion of the given rendered image.
void
Replace the metadata associated with this image stream.
void
Write a rendered image to the output stream.
boolean
ImageIO.write(RenderedImage im, String formatName, File output)
Write an image to a file using a registered writer that supports the given format, overwriting the file if it already exists.
boolean
ImageIO.write(RenderedImage im, String formatName, OutputStream output)
Write an image to an output stream using a registered writer that supports the given format.
boolean
Write an image to an ImageOutputStream using a registered writer that supports the given format.
void
Write a image data, metadata and thumbnails to the output stream.
void
ImageWriter.write(IIOMetadata streamMetadata, IIOImage image, ImageWriteParam param)
Write an image stream, including thumbnails and metadata to the output stream.
void
ImageWriter.writeInsert(int imageIndex, IIOImage image, ImageWriteParam param)
Insert an image into the output stream.
void
Write a sequence of images, including thumbnails and metadata, to the output stream.

Uses in package java.nio.channels.spi

Methods which throw type java.io.IOException

void
Closes the channel.
void
Closes the channel.
SelectableChannel
Adjusts this channel's blocking mode.
void
Closes the channel.
void
Closes this channel.
void
Closes this selectable channel.
void
Closes the channel.
void
Adjusts this channel's blocking mode.
Channel
Returns the inherited channel of the VM.
DatagramChannel
Opens a datagram channel.
Pipe
Opens a pipe.
AbstractSelector
Opens a selector.
ServerSocketChannel
Opens a server socket channel.
SocketChannel
Opens a socket channel.

Uses in package javax.swing.text

Classes derived from java.io.IOException

class
The exception is thrown when the document charset is changed.

Methods which throw type java.io.IOException

void
Indent this line by emitting spaces, according to the current indent level and the current number of spaces per indent.
void
AbstractWriter.output(char[] data, int start, int len)
This method calls Writer.write on the indicated data, and updates the current line length.
void
DefaultEditorKit.read(InputStream in, Document document, int offset)
Reads a document of the supported content type from an InputStream into the actual Document object.
void
EditorKit.read(InputStream in, Document doc, int pos)
void
JTextComponent.read(Reader input, Object streamDescription)
Read and set the content this component.
void
DefaultEditorKit.read(Reader in, Document document, int offset)
Reads a document of the supported content type from a Reader into the actual Document object.
void
EditorKit.read(Reader in, Document doc, int pos)
void
Reads a set of attributes from the given object input stream.
void
Handles reading in the attributes.
void
Output the text of the indicated Element, properly clipping it to the range of the Document specified when the AbstractWriter was created.
void
This method must be overridden by a concrete subclass.
void
Write a single character.
void
AbstractWriter.write(char[] data, int start, int len)
Write a character array to the output Writer, properly handling newlines and, if needed, wrapping lines as they are output.
void
DefaultEditorKit.write(OutputStream out, Document document, int offset, int len)
Writes the Document (or a fragment of the Document) to an OutputStream in the supported content type format.
void
EditorKit.write(OutputStream out, Document doc, int pos, int len)
void
Write the content of this component to the given stream.
void
DefaultEditorKit.write(Writer out, Document document, int offset, int len)
Writes the Document (or a fragment of the Document) to a Writer in the supported content type format.
void
EditorKit.write(Writer out, Document doc, int pos, int len)
void
Write a String.
void
Serialize an attribute set in a way that is compatible with it being read in again by readAttributeSet(ObjectInputStream,MutableAttributeSet).
void
Handles writing of the given attributes.
void
Print the given AttributeSet as a sequence of assignment-like strings, e.g.
void
Write a line separator using the output method, and then reset the current line length.

Uses in package javax.imageio.stream

Constructors which throw type java.io.IOException

Methods which throw type java.io.IOException

void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
int
int
long
long
long
int
int
int
int
int
int
int
int
int
int
int
FileCacheImageInputStream.read(byte[] data, int offset, int len)
int
FileCacheImageOutputStream.read(byte[] data, int offset, int len)
int
FileImageInputStream.read(byte[] data, int offset, int len)
int
FileImageOutputStream.read(byte[] data, int offset, int len)
int
ImageInputStream.read(byte[] b, int offset, int length)
int
ImageInputStreamImpl.read(byte[] data, int offset, int len)
int
MemoryCacheImageInputStream.read(byte[] data, int offset, int len)
int
MemoryCacheImageOutputStream.read(byte[] data, int offset, int len)
int
int
long
long
boolean
Reads a byte and checks whether or not its value is zero.
boolean
Reads a byte and checks whether or not its value is zero.
byte
Reads a signed byte.
byte
Reads a signed byte.
void
Reads up to a specified number of bytes, and modifies a IIOByteBuffer to hold the read data.
void
Reads up to a specified number of bytes, and modifies a IIOByteBuffer to hold the read data.
char
Reads an unsigned 16-bit integer.
char
Reads an unsigned 16-bit integer.
double
Reads an IEEE 64-bit double-precision floating point number.
double
Reads an IEEE 64-bit double-precision floating point number.
float
Reads an IEEE 32-bit single-precision floating point number.
float
Reads an IEEE 32-bit single-precision floating point number.
void
Reads a sequence of signed 8-bit integers into a byte[] array.
void
Reads a sequence of signed 8-bit integers into a byte[] array.
void
ImageInputStream.readFully(byte[] b, int offset, int numBytes)
Reads a sequence of signed 8-bit integers into a byte[] array.
void
ImageInputStreamImpl.readFully(byte[] data, int offset, int len)
Reads a sequence of signed 8-bit integers into a byte[] array.
void
ImageInputStream.readFully(char[] c, int offset, int numChars)
Reads a sequence of unsigned 16-bit integers into a char[] array.
void
ImageInputStreamImpl.readFully(char[] data, int offset, int len)
Reads a sequence of unsigned 16-bit integers into a char[] array.
void
ImageInputStream.readFully(double[] d, int offset, int numDoubles)
Reads a sequence of IEEE 64-bit double-precision floating point numbers into a double[] array.
void
ImageInputStreamImpl.readFully(double[] data, int offset, int len)
Reads a sequence of IEEE 64-bit double-precision floating point numbers into a double[] array.
void
ImageInputStream.readFully(float[] f, int offset, int numFloats)
Reads a sequence of IEEE 32-bit single-precision floating point numbers into a float[] array.
void
ImageInputStreamImpl.readFully(float[] data, int offset, int len)
Reads a sequence of IEEE 32-bit single-precision floating point numbers into a float[] array.
void
ImageInputStream.readFully(int[] i, int offset, int numInts)
Reads a sequence of signed 32-bit integers into a long[] array.
void
ImageInputStreamImpl.readFully(int[] data, int offset, int len)
Reads a sequence of signed 32-bit integers into a long[] array.
void
ImageInputStream.readFully(long[] l, int offset, int numLongs)
Reads a sequence of signed 64-bit integers into a long[] array.
void
ImageInputStreamImpl.readFully(long[] data, int offset, int len)
Reads a sequence of signed 64-bit integers into a long[] array.
void
ImageInputStream.readFully(short[] s, int offset, int numShorts)
Reads a sequence of signed 16-bit integers into a short[] array.
void
ImageInputStreamImpl.readFully(short[] data, int offset, int len)
Reads a sequence of signed 16-bit integers into a short[] array.
int
Reads a signed 32-bit integer.
int
Reads a signed 32-bit integer.
String
String
This method reads the next line of text data from an input stream.
long
Reads a signed 64-bit integer.
long
Reads a signed 64-bit integer.
short
Reads an signed 16-bit integer.
short
Reads an signed 16-bit integer.
String
String
This method reads a String from an input stream that is encoded in a modified UTF-8 format.
int
Reads an unsigned byte.
int
Reads an unsigned byte.
long
Reads an unsigned 32-bit integer.
long
Reads an unsigned 32-bit integer.
int
Reads an unsigned 16-bit integer.
int
Reads an unsigned 16-bit integer.
void
void
void
void
FileImageInputStream.seek(long position)
void
FileImageOutputStream.seek(long position)
void
void
ImageInputStreamImpl.seek(long position)
void
void
void
int
int
This method skips and discards the specified number of bytes in an input stream.
long
ImageInputStream.skipBytes(long numBytes)
long
void
ImageOutputStream.write(byte[] data)
Writes an array into the stream.
void
void
FileCacheImageOutputStream.write(byte[] data, int offset, int len)
void
FileImageOutputStream.write(byte[] data, int offset, int len)
void
ImageOutputStream.write(byte[] data, int offset, int len)
Writes a region of data from an array into the stream.
void
ImageOutputStreamImpl.write(byte[] data, int offset, int len)
void
MemoryCacheImageOutputStream.write(byte[] data, int offset, int len)
void
void
void
Writes an int into the stream.
void
void
void
Writes a bit value to the stream.
void
void
ImageOutputStream.writeBits(long bits, int numBits)
Writes a number of bit values to the stream.
void
ImageOutputStreamImpl.writeBits(long bits, int numBits)
void
Writes a boolean value into the stream.
void
void
Writes a byte value into the stream.
void
void
void
void
Writes a character into the stream.
void
void
ImageOutputStream.writeChars(char[] data, int offset, int len)
Writes characters to the stream.
void
ImageOutputStreamImpl.writeChars(char[] data, int offset, int len)
void
Writes characters from a given String into the stream.
void
void
Writes a double into the stream.
void
void
ImageOutputStream.writeDoubles(double[] data, int offset, int len)
Writes an array of double into the stream.
void
ImageOutputStreamImpl.writeDoubles(double[] data, int offset, int len)
void
Writes a float into the stream.
void
void
ImageOutputStream.writeFloats(float[] data, int offset, int len)
Writes an array of float into the stream.
void
ImageOutputStreamImpl.writeFloats(float[] data, int offset, int len)
void
Writes a int into the stream.
void
void
ImageOutputStream.writeInts(int[] data, int offset, int len)
Writes an array of int into the stream.
void
ImageOutputStreamImpl.writeInts(int[] data, int offset, int len)
void
Writes a long into the stream.
void
void
ImageOutputStream.writeLongs(long[] data, int offset, int len)
Writes an array of long into the stream.
void
ImageOutputStreamImpl.writeLongs(long[] data, int offset, int len)
void
Writes a short into the stream.
void
void
ImageOutputStream.writeShorts(short[] data, int offset, int len)
Writes an array of short into the stream.
void
ImageOutputStreamImpl.writeShorts(short[] data, int offset, int len)
void
Writes a String into the stream.
void

Uses in package java.applet

Methods which throw type java.io.IOException

void
Associate a stream to a key for this applet context, possibly replacing the old value.

Uses in package java.awt.dnd

Methods which throw type java.io.IOException

Object
Returns the data in the specified DataFlavor.

Uses in package javax.xml.parsers

Methods which throw type java.io.IOException

Document
Parse the specified file and return a DOM Document.
void
Parse the content of the specified file, reporting SAX1 events to the given handler.
void
Parse the content of the specified file, reporting SAX2 events to the given handler.
Document
Parse the specified input stream and return a DOM Document.
Document
Parse the specified input stream and return a DOM Document.
void
Parse the specifed input stream, reporting SAX1 events to the given handler.
void
Parse the specified input stream, reporting SAX1 events to the given handler.
void
Parse the specified input stream, reporting SAX2 events to the given handler.
void
Parse the specified input stream, reporting SAX2 events to the given handler.
Document
Parse the content of the specified URI and return a DOM Document.
void
Parse the content of the specified URI, reporting SAX1 events to the given handler.
void
Parse the content of the specified URI, reporting SAX2 events to the given handler.
Document
Parse the specified input source and return a DOM Document.
void
Parse the specified input source, reporting SAX1 events to the given handler.
void
Parse the specified input source, reporting SAX2 events to the given handler.

Uses in package java.nio

Methods which throw type java.io.IOException

int

Uses in package java.rmi.server

Classes derived from java.io.IOException

class
Thrown if an attempt to export a remote object fails.
class
Thrown if a call is received that does not match a Skeleton.
class
Thrown if a Skeleton corresponding to the remote object is not found.
class
Thrown during remote object export if the code does not have permission to create a java.net.ServerSocket on the specified port.

Methods which throw type java.io.IOException

ServerSocket
ServerSocket
Socket
Socket
void
ObjectInput
ObjectOutput
ObjectOutput
RemoteCall.getResultStream(boolean success)
UID
ObjID
Read object id (as long), then the object UID.
void
void
void
void
void
Write object id as long, then the object UID.

Uses in package java.util.logging

Constructors which throw type java.io.IOException

Constructs a FileHandler, taking all property values from the current LogManager configuration.
FileHandler.FileHandler(String pattern, boolean append)
FileHandler.FileHandler(String pattern, int limit, int count)
FileHandler.FileHandler(String pattern, int limit, int count, boolean append)
Constructs a FileHandler given the pattern for the location and name of the produced log files, the size limit, the number of log files thorough which the handler will rotate, and the append property.
Constructs a SocketHandler that publishes log records to a TCP/IP socket.
Constructs a SocketHandler that publishes log records to a TCP/IP socket.

Methods which throw type java.io.IOException

void
Configures the logging framework by reading a configuration file.
void

Uses in package java.net

Classes derived from java.io.IOException

class
This exception indicates that an error occurred while attempting to bind socket to a particular port.
class
This exception indicates that an error occurred while attempting to connect to a remote host.
class
This exception indicates that a URL passed to an object was not in a valid format.
class
This exception indicates that there is no TCP/IP route to the requested host.
class
This exception signals that an ICMP port unreachable datagram has been received.
class
This exception indicates that some sort of low level protocol exception occurred.
class
This exception indicates that a generic error occurred related to an operation on a socket.
class
This exception signals that a socket read or accept timed out.
class
This exception indicates that an attempt was made to reference a hostname or IP address that is not valid.
class
Contrary to what you might think, this does not indicate that the TCP/IP service name specified was invalid.

Constructors which throw type java.io.IOException

Create a MulticastSocket that this not bound to any address
Create a multicast socket bound to the specified port
Create a multicast socket bound to the specified SocketAddress.
Constructor that simply sets the implementation.
Creates a server socket and binds it to the specified port.
ServerSocket.ServerSocket(int port, int backlog)
Creates a server socket and binds it to the specified port.
ServerSocket.ServerSocket(int port, int backlog, InetAddress bindAddr)
Creates a server socket and binds it to the specified port.
Socket.Socket(String host, int port)
Initializes a new instance of Socket and connects to the hostname and port specified as arguments.
Socket.Socket(String host, int port, boolean stream)
Initializes a new instance of Socket and connects to the hostname and port specified as arguments.
Socket.Socket(String host, int port, InetAddress localAddr, int localPort)
Initializes a new instance of Socket that connects to the named host on the specified port and binds to the specified local address and port.
Socket.Socket(InetAddress address, int port)
Initializes a new instance of Socket and connects to the address and port number specified as arguments.
Socket.Socket(InetAddress host, int port, boolean stream)
Initializes a new instance of Socket and connects to the address and port number specified as arguments.
Socket.Socket(InetAddress address, int port, InetAddress localAddr, int localPort)
Initializes a new instance of Socket and connects to the address and port number specified as arguments, plus binds to the specified local address and port.

Methods with parameter type java.io.IOException

void
Signals to the selector that a proxy was no available.

Methods which throw type java.io.IOException

Socket
Accepts a new connection and returns a connected Socket instance representing that connection.
void
Accepts a connection on this socket.
int
Returns the number of bytes that the caller can read from this socket without blocking.
void
SocketImpl.bind(InetAddress host, int port)
Binds to the specified port on the specified addr.
void
Binds the server socket to a specified socket address
void
Binds the socket to the given local address/port
void
ServerSocket.bind(SocketAddress endpoint, int backlog)
Binds the server socket to a specified socket address
void
Closes this socket and stops listening for connections
void
Closes the socket.
void
Closes the socket.
void
Establishes the actual connection to the URL associated with this connection object
void
SocketImpl.connect(String host, int port)
Connects to the remote hostname and port specified as arguments.
void
SocketImpl.connect(InetAddress host, int port)
Connects to the remote address and port specified as arguments.
void
Connects the socket with a remote address.
void
Socket.connect(SocketAddress endpoint, int timeout)
Connects the socket with a remote address.
void
SocketImpl.connect(SocketAddress address, int timeout)
Connects to the socket to the host specified in address.
void
SocketImpl.create(boolean stream)
Creates a new socket that is not bound to any local address/port and is not connected to any remote address/port.
Enumeration
Finds all the resources with a particular name from all the locations.
Attributes
Returns the Attributes for the Jar entry specified by the URL or null if none
Certificate[]
Returns an array of Certificate objects for the jar file entry specified by this URL or null if there are none
Object
Returns the contents of this URL as an object by first opening a connection, then calling the getContent() method against the connection
Object
This method returns the content of the document pointed to by the URL as an Object.
Object
URL.getContent(Class<T>[] classes)
Gets the contents of this URL
Object
Retrieves the content of this URLConnection
Object
This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an Object represening the content.
Object
This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an Object represening the content.
InputStream
Returns an InputStream for reading from this socket.
InputStream
Returns an InputStream object for reading from this socket.
InputStream
Returns an InputStream for this connection.
JarEntry
Returns the entry in this jar file specified by the URL.
JarFile
Returns a read-only JarFile object for the remote jar file
Attributes
Returns the main Attributes for the jar file specified in the URL or null if there are none
Manifest
Returns a Manifest object for this jar file, or null if there is no manifest.
OutputStream
Returns an OutputStream for writing to this socket.
OutputStream
Returns an OutputStream object for writing to this socket
OutputStream
Returns an OutputStream for this connection.
Permission
Returns a permission object representing the permission necessary to make the connection represented by this object
Permission
This method returns a Permission object representing the permissions required to access this URL.
int
Gets the status code from an HTTP response message, or -1 if the response code could not be determined.
String
Gets the HTTP response message, if any, returned along with the response code from a server.
int
Retrieves the current value of the SO_TIMEOUT setting.
byte
This method returns the current Time to Live (TTL) setting on this socket.
byte
Returns the current value of the "Time to Live" option.
int
This method returns the current Time to Live (TTL) setting on this socket.
int
Returns the current value of the "Time to Live" option.
String
Returns the MIME type of a stream based on the first few characters at the beginning of the stream.
void
This protected method is used to help subclasses override ServerSocket.accept().
void
Causes this socket to join the specified multicast group
void
Joins the specified multicast group.
void
Causes this socket to join the specified multicast group on a specified device
void
Joins the specified mulitcast group on a specified interface.
void
Causes the socket to leave the specified multicast group.
void
Leaves the specified multicast group
void
Leaves a multicast group
void
Leaves the specified mulitcast group on a specified interface.
void
SocketImpl.listen(int backlog)
Starts listening for connections on a socket.
URLConnection
Returns a URLConnection object that represents a connection to the remote object referred to by the URL.
URLConnection
Returns a URLConnection for the passed in URL.
InputStream
Opens a connection to this URL and returns an InputStream for reading from that connection
int
Takes a peek at the next packet received in order to retrieve the address of the sender
int
Takes a peek at the next packet received.
void
Reads a datagram packet from the socket.
void
Receives a packet of data from the network Will block until a packet arrives.
void
Sends the specified packet.
void
Transmits the specified packet of data to the network.
void
MulticastSocket.send(DatagramPacket packet, byte ttl)
Sends a packet of data to a multicast address with a TTL that is different from the default TTL on this socket.
void
Sends urgent data through the socket
void
Sends one byte of urgent data to the socket.
void
Sets the datagram socket implementation factory for the application
void
Sets the SocketImplFactory for all ServerSocket's.
void
Sets the SocketImplFactory.
void
Sets the Time to Live (TTL) setting on this socket to the specified value.
void
Sets the "Time to Live" value for a socket.
void
Sets the Time to Live (TTL) setting on this socket to the specified value.
void
Sets the "Time to Live" value for a socket.
void
Closes the input side of the socket stream.
void
Shut down the input side of this socket.
void
Closes the output side of the socket stream.
void
Shut down the output side of this socket.

Uses in package org.omg.CORBA.portable

Methods which throw type java.io.IOException

int
Should read from the stream, but following specification it does not.
void
Should write an byte (lower 8 bits) to the output stream, but, following specification, it does not and must be overridden to get a functionality.

Uses in package java.util

Classes derived from java.io.IOException

class

Constructors which throw type java.io.IOException

Creates a new property resource bundle.

Methods with return type java.io.IOException

IOException
Returns the last I/O exception thrown by the append() operation of the underlying output stream.

Methods which throw type java.io.IOException

void
Reads a property list from an input stream.
void
Decodes the contents of the supplied InputStream as an XML file, which represents a set of properties.
void
Writes the key/value pairs to the given output stream, in a format suitable for load.
If header is not null, this method writes a comment containing the header as first line to the stream.
void
Encodes the properties as an XML file using the UTF-8 encoding.
void
Properties.storeToXML(OutputStream os, String comment, String encoding)
Encodes the properties as an XML file using the supplied encoding.

Uses in package javax.rmi.CORBA

Methods which throw type java.io.IOException

void
Read this stub from the object input stream.
void
Write this stub to the object output stream.

Uses in package javax.management

Methods which throw type java.io.IOException

void
Registers the supplied listener with the specified management bean.
void
Registers the supplied listener with the specified management bean.
ObjectInstance
Instantiates a new instance of the specified management bean using the default constructor and registers it with the server under the supplied name.
ObjectInstance
MBeanServerConnection.createMBean(String className, ObjectName name, Object[] params, String[] sig)
Instantiates a new instance of the specified management bean using the given constructor and registers it with the server under the supplied name.
ObjectInstance
Instantiates a new instance of the specified management bean using the default constructor and registers it with the server under the supplied name.
ObjectInstance
MBeanServerConnection.createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] sig)
Instantiates a new instance of the specified management bean using the given constructor and registers it with the server under the supplied name.
Object
Returns the value of the supplied attribute from the specified management bean.
AttributeList
Returns the values of the named attributes from the specified management bean.
String
Returns the default domain this server applies to beans that have no specified domain.
String[]
Returns an array containing all the domains used by beans registered with this server.
Integer
Returns the number of management beans registered with this server.
MBeanInfo
Returns information on the given management bean.
ObjectInstance
Returns the ObjectInstance created for the specified management bean on registration.
Object
MBeanServerConnection.invoke(ObjectName bean, String name, Object[] params, String[] sig)
Invokes the supplied operation on the specified management bean.
boolean
Returns true if the specified management bean is an instance of the supplied class.
boolean
Returns true if the specified management bean is registered with the server.
Set
Returns a set of ObjectInstances matching the specified criteria.
Set
Returns a set of ObjectNames matching the specified criteria.
void
Removes the specified listener from the list of recipients of notifications from the supplied bean.
void
Removes the specified listener from the list of recipients of notifications from the supplied bean.
void
Removes the specified listener from the list of recipients of notifications from the supplied bean.
void
Removes the specified listener from the list of recipients of notifications from the supplied bean.
void
Sets the value of the specified attribute of the supplied management bean.
AttributeList
Sets the value of each of the specified attributes of the supplied management bean to that specified by the Attribute object.
void
Unregisters the specified management bean.

Uses in package javax.sound.sampled.spi

Methods which throw type java.io.IOException

AudioFileFormat
Return the format of the given file as deduced by this provider.
AudioFileFormat
Return the format of the given input stream as deduced by this provider.
AudioFileFormat
Return the format of the given URL as deduced by this provider.
AudioInputStream
Return an AudioInputStream for the given file.
AudioInputStream
Return an AudioInputStream wrapping the given input stream.
AudioInputStream
Return an AudioInputStream for the given URL.
int
Write audio data to a file.
int
Write audio data to an output stream.

Uses in package javax.security.sasl

Classes derived from java.io.IOException

class
This exception is thrown by a SASL mechanism implementation to indicate that the SASL exchange has failed due to reasons related to authentication, such as an invalid identity, passphrase, or key.

Note that the lack of an AuthenticationException does not mean that the failure was not due to an authentication error.

class
This class represents an error that has occurred when using SASL.

Uses in package javax.swing

Constructors which throw type java.io.IOException

Methods which throw type java.io.IOException

void
Closes the input stream and the associated ProgressMonitor.
InputStream
int
Reads an unsigned byte from the input stream and returns it as an int in the range of 0-255.
int
Reads bytes from the input stream and stores them in the supplied array, and updates the progress monitor (or closes it if the end of the stream is reached).
int
ProgressMonitorInputStream.read(byte[] data, int offset, int length)
Reads up to length bytes from the input stream and stores them in the supplied array at the given index, and updates the progress monitor (or closes it if the end of the stream is reached).
void
This method initializes from a stream.
void
Resets the input stream to the point where mark(int) was called.
void
Sets the current URL being displayed.
void
Sets the current URL being displayed.
long
Skips the specified number of bytes and updates the ProgressMonitor.

Uses in package org.xml.sax.helpers

Methods which throw type java.io.IOException

void
Parse an XML document.
void
Parse a document.
void
Parse the document.
void
Parse an XML document.
void
Parse a document.
void
Parse the document.
InputSource
Resolve an external entity.
InputSource
Filter an external entity resolution.

Uses in package javax.xml.validation

Methods which throw type java.io.IOException

void
Validate the specified input.
void
Validator.validate(Source source, Result result)
Validate the specified input.

Uses in package java.awt.color

Methods which throw type java.io.IOException

ICC_Profile
Returns an ICC_Profile instance from an InputStream.
ICC_Profile
Returns an ICC_Profile instance from an ICC Profile file.
void
Writes the profile data in ICC profile file-format to a stream.
void
Writes the profile data to an ICC profile file.

Uses in package java.beans.beancontext

Methods which throw type java.io.IOException

void
Deserializes any service providers which are serializable.
void
Subclasses may use this method to perform their own deserialization after the default deserialization process has taken place, but prior to the deserialization of the children.
void
Serializes any service providers which are serializable.
void
Subclasses may use this method to perform their own serialization after the default serialization process has taken place, but prior to the serialization of the children.
void
Deserializes objects (written by serialize(ObjectOutputStream,Collection)) and adds them to the specified collection.
Object
Instantiate a Bean using this Bean's ClassLoader and this BeanContext as the parent.
Object
This is a convenience method for instantiating a bean inside this context.
void
Deerializes the children using the deserialize(ObjectInputStream, Collection method and then calls childDeserializedHook(Object, BCSChild) for each child deserialized.
void
Writes the items in the collection to the specified output stream.
void
Serializes the children using the serialize(ObjectOutputStream, Collection method.

Uses in package java.rmi.activation

Classes derived from java.io.IOException

class
Thrown when activation fails on a remote call to an activatable object.