| Package | Description |
|---|---|
| java.applet |
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
|
| java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
| java.awt.color |
Provides classes for color spaces.
|
| java.awt.datatransfer |
Provides interfaces and classes for transferring data
between and within applications.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
| java.awt.print |
Provides classes and interfaces for a general printing API.
|
| java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
| java.beans.beancontext |
Provides classes and interfaces relating to bean context.
|
| java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
| java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.nio |
Defines buffers, which are containers for data, and provides an overview of the
other NIO packages.
|
| java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
|
| java.nio.channels.spi |
Service-provider classes for the
java.nio.channels package. |
| java.nio.charset |
Defines charsets, decoders, and encoders, for translating between bytes and
Unicode characters.
|
| java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
| java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
| java.nio.file.spi |
Service-provider classes for the
java.nio.file package. |
| java.rmi |
Provides the RMI package.
|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
| java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
| java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.jar |
Provides classes for reading and writing the JAR (Java ARchive) file
format, which is based on the standard ZIP file format with an
optional manifest file.
|
| java.util.logging |
Provides the classes and interfaces of
the JavaTM 2
platform's core logging facilities.
|
| java.util.prefs |
This package allows applications to store and retrieve user and system
preference and configuration data.
|
| java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP
file formats.
|
| javax.activation | |
| javax.activity |
Contains Activity service related exceptions thrown by the ORB machinery during
unmarshalling.
|
| javax.annotation.processing |
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.metadata |
A package of the Java Image I/O API dealing with reading and writing
metadata.
|
| javax.imageio.spi |
A package of the Java Image I/O API containing the plug-in interfaces
for readers, writers, transcoders, and streams, and a runtime
registry.
|
| javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from
files and streams.
|
| javax.management |
Provides the core classes for the Java Management Extensions.
|
| javax.management.loading |
Provides the classes which implement advanced dynamic
loading.
|
| javax.management.remote |
Interfaces for remote access to
JMX MBean servers.
|
| javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
| javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
| javax.net |
Provides classes for networking applications.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.print |
Provides the principal classes and interfaces for the
JavaTM Print Service API.
|
| javax.rmi.CORBA |
Contains portability APIs for RMI-IIOP.
|
| javax.rmi.ssl |
Provides implementations of
RMIClientSocketFactory
and RMIServerSocketFactory over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |
| javax.security.auth.callback |
This package provides the classes necessary for services
to interact with applications in order to retrieve
information (authentication data including usernames
or passwords, for example) or to display information
(error and warning messages, for example).
|
| javax.security.sasl |
Contains class and interfaces for supporting SASL.
|
| javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
|
| javax.sound.midi.spi |
Supplies interfaces for service providers to implement when
offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| javax.sound.sampled.spi |
Supplies abstract classes for service providers to subclass when
offering new audio devices, sound file readers and writers, or audio format converters.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet
implementations. |
| javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
| javax.swing.filechooser |
Contains classes and interfaces used by the
JFileChooser component. |
| javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is
delegated.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes
for creating HTML text editors. |
| javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
| javax.swing.text.rtf |
Provides a class (
RTFEditorKit) for creating Rich-Text-Format
text editors. |
| javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
| javax.transaction |
Contains three exceptions thrown by the ORB machinery during unmarshalling.
|
| javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
| javax.xml.validation |
This package provides an API for validation of XML documents.
|
| javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS
web services in containers(for e.g.
|
| org.omg.CORBA.portable |
Provides a portability layer, that is, a set of ORB APIs
that makes it possible for code generated
by one vendor to run on another vendor's ORB.
|
| org.xml.sax |
This package provides the core SAX APIs.
|
| org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support.
|
| org.xml.sax.helpers |
This package contains "helper" classes, including
support for bootstrapping SAX-based applications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this
applet context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Desktop.browse(URI uri)
Launches the default browser to display a
URI. |
static Font |
Font.createFont(int fontFormat,
File fontFile)
Returns a new
Font using the specified font type
and the specified font file. |
static Font |
Font.createFont(int fontFormat,
InputStream fontStream)
Returns a new
Font using the specified font type
and input data. |
void |
Desktop.edit(File file)
Launches the associated editor application and opens a file for
editing.
|
void |
Desktop.mail()
Launches the mail composing window of the user default mail
client.
|
void |
Desktop.mail(URI mailtoURI)
Launches the mail composing window of the user default mail
client, filling the message fields specified by a
mailto: URI. |
void |
Desktop.open(File file)
Launches the associated application to open the file.
|
void |
Desktop.print(File file)
Prints a file with the native desktop printing facility, using
the associated application's print command.
|
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k) |
void |
SplashScreen.setImageURL(URL imageURL)
Changes the splash screen image.
|
| Modifier and Type | Method and Description |
|---|---|
static ICC_Profile |
ICC_Profile.getInstance(InputStream s)
Constructs an ICC_Profile corresponding to the data in an InputStream.
|
static ICC_Profile |
ICC_Profile.getInstance(String fileName)
Constructs an ICC_Profile corresponding to the data in a file.
|
void |
ICC_Profile.write(OutputStream s)
Write this ICC_Profile to an OutputStream.
|
void |
ICC_Profile.write(String fileName)
Write this ICC_Profile to a file.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Clipboard.getData(DataFlavor flavor)
Returns an object representing the current contents of this clipboard
in the specified
DataFlavor. |
Reader |
DataFlavor.getReaderForText(Transferable transferable)
Gets a Reader for a text flavor, decoded, if necessary, for the expected
charset (encoding).
|
Object |
StringSelection.getTransferData(DataFlavor flavor)
Returns the
Transferable's data in the requested
DataFlavor if possible. |
Object |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred.
|
void |
DataFlavor.readExternal(ObjectInput is)
Restores this
DataFlavor from a Serialized state. |
void |
DataFlavor.writeExternal(ObjectOutput os)
Serializes this
DataFlavor. |
| Modifier and Type | Method and Description |
|---|---|
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df)
Returns an object which represents the data provided by
the encapsulated transferable for the requested data flavor.
|
| Modifier and Type | Method and Description |
|---|---|
IOException |
PrinterIOException.getIOException()
Returns the
IOException that terminated
the print job. |
| Constructor and Description |
|---|
PrinterIOException(IOException exception)
Constructs a new
PrinterIOException
with the string representation of the specified
IOException. |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BeanContextServicesSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called from BeanContextSupport readObject before it deserializes the
children ...
|
protected void |
BeanContextSupport.bcsPreDeserializationHook(ObjectInputStream ois)
called by readObject after defaultReadObject() but prior to
deserialization of any children.
|
protected void |
BeanContextServicesSupport.bcsPreSerializationHook(ObjectOutputStream oos)
called from BeanContextSupport writeObject before it serializes the
children ...
|
protected void |
BeanContextSupport.bcsPreSerializationHook(ObjectOutputStream oos)
called by writeObject after defaultWriteObject() but prior to
serialization of currently serializable children.
|
protected void |
BeanContextSupport.deserialize(ObjectInputStream ois,
Collection coll)
used by readObject to deserialize a collection.
|
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a
child of this
BeanContext. |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook
in BeanContext to simplify
the task of instantiating a Bean, nested,
into a BeanContext.
|
void |
BeanContextSupport.readChildren(ObjectInputStream ois)
When an instance of this class is used as a delegate for the
implementation of the BeanContext protocols (and its subprotocols)
there exists a 'chicken and egg' problem during deserialization
|
protected void |
BeanContextSupport.serialize(ObjectOutputStream oos,
Collection coll)
Used by writeObject to serialize a Collection.
|
void |
BeanContextSupport.writeChildren(ObjectOutputStream oos)
Used to serialize all children of
this BeanContext.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CharConversionException
Base class for character conversion exceptions.
|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes.
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
SyncFailedException
Signals that a sync operation has failed.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed string in
modified UTF-8
format has been read in a data
input stream or by any class that implements the data input
interface.
|
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in
the stream.
|
protected void |
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream
along with descriptors for dynamic proxy classes.
|
Writer |
Writer.append(char c)
Appends the specified character to this writer.
|
Writer |
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
Writer |
Writer.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
int |
BufferedInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
int |
InputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
int |
ObjectInputStream.available()
Returns the number of bytes that can be read without blocking.
|
int |
SequenceInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from the current underlying input stream without
blocking by the next invocation of a method for the current
underlying input stream.
|
int |
FilterInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
caller of a method for this input stream.
|
int |
FileInputStream.available()
Returns an estimate of the number of remaining bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
int |
LineNumberInputStream.available()
Deprecated.
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
PipedInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
int |
PushbackInputStream.available()
Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.
|
int |
ObjectInput.available()
Returns the number of bytes that can be read
without blocking.
|
void |
FilterReader.close() |
void |
ByteArrayInputStream.close()
Closing a ByteArrayInputStream has no effect.
|
void |
PipedWriter.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
InputStreamReader.close() |
void |
BufferedWriter.close() |
void |
BufferedInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated
with the stream.
|
void |
ByteArrayOutputStream.close()
Closing a ByteArrayOutputStream has no effect.
|
void |
BufferedReader.close() |
void |
PushbackReader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
PipedReader.close()
Closes this piped stream and releases any system resources
associated with the stream.
|
abstract void |
Writer.close()
Closes the stream, flushing it first.
|
void |
ObjectOutput.close()
Closes the stream.
|
void |
RandomAccessFile.close()
Closes this random access file stream and releases any system
resources associated with the stream.
|
void |
FilterOutputStream.close()
Closes this output stream and releases any system resources
associated with the stream.
|
void |
FileOutputStream.close()
Closes this file output stream and releases any system resources
associated with this stream.
|
void |
OutputStream.close()
Closes this output stream and releases any system resources
associated with this stream.
|
void |
ObjectOutputStream.close()
Closes the stream.
|
void |
ObjectInputStream.close()
Closes the input stream.
|
void |
SequenceInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
FilterInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
StringWriter.close()
Closing a StringWriter has no effect.
|
void |
OutputStreamWriter.close() |
void |
FileInputStream.close()
Closes this file input stream and releases any system resources
associated with the stream.
|
void |
PipedOutputStream.close()
Closes this piped output stream and releases any system resources
associated with this stream.
|
void |
Closeable.close()
Closes this stream and releases any system resources associated
with it.
|
void |
FilterWriter.close() |
void |
PipedInputStream.close()
Closes this piped input stream and releases any system resources
associated with the stream.
|
void |
PushbackInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
ObjectInput.close()
Closes the input stream.
|
abstract void |
Reader.close()
Closes the stream and releases any system resources associated with
it.
|
void |
PipedOutputStream.connect(PipedInputStream snk)
Connects this piped output stream to a receiver.
|
void |
PipedInputStream.connect(PipedOutputStream src)
Causes this piped input stream to be connected
to the piped output stream
src. |
void |
PipedWriter.connect(PipedReader snk)
Connects this piped writer to a receiver.
|
void |
PipedReader.connect(PipedWriter src)
Causes this piped reader to be connected
to the piped writer
src. |
boolean |
File.createNewFile()
Atomically creates a new, empty file named by this abstract pathname if
and only if a file with this name does not yet exist.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
void |
ObjectInputStream.defaultReadObject()
Read the non-static and non-transient fields of the current class from
this stream.
|
void |
ObjectOutputStream.defaultWriteObject()
Write the non-static and non-transient fields of the current class to
this stream.
|
protected void |
ObjectOutputStream.drain()
Drain any buffered data in ObjectOutputStream.
|
protected void |
FileOutputStream.finalize()
Cleans up the connection to the file, and ensures that the
close method of this file output stream is
called when there are no more references to this stream. |
protected void |
FileInputStream.finalize()
Ensures that the
close method of this file input stream is
called when there are no more references to it. |
void |
Flushable.flush()
Flushes this stream by writing any buffered output to the underlying
stream.
|
void |
BufferedOutputStream.flush()
Flushes this buffered output stream.
|
void |
PipedWriter.flush()
Flushes this output stream and forces any buffered output characters
to be written out.
|
void |
BufferedWriter.flush()
Flushes the stream.
|
abstract void |
Writer.flush()
Flushes the stream.
|
void |
ObjectOutput.flush()
Flushes the stream.
|
void |
FilterOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out to the stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
ObjectOutputStream.flush()
Flushes the stream.
|
void |
OutputStreamWriter.flush()
Flushes the stream.
|
void |
PipedOutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
FilterWriter.flush()
Flushes the stream.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
File |
File.getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
FileDescriptor |
RandomAccessFile.getFD()
Returns the opaque file descriptor object associated with this
stream.
|
FileDescriptor |
FileOutputStream.getFD()
Returns the file descriptor associated with this stream.
|
FileDescriptor |
FileInputStream.getFD()
Returns the
FileDescriptor
object that represents the connection to
the actual file in the file system being
used by this FileInputStream. |
long |
RandomAccessFile.getFilePointer()
Returns the current offset in this file.
|
long |
RandomAccessFile.length()
Returns the length of this file.
|
void |
FilterReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
StringReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
CharArrayReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
BufferedReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
PushbackReader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
LineNumberReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
Reader.mark(int readAheadLimit)
Marks the present position in the stream.
|
void |
BufferedWriter.newLine()
Writes a line separator.
|
int |
StreamTokenizer.nextToken()
Parses the next token from the input stream of this tokenizer.
|
ObjectOutputStream.PutField |
ObjectOutputStream.putFields()
Retrieve the object used to buffer persistent fields to be written to
the stream.
|
int |
FilterReader.read()
Reads a single character.
|
int |
StringReader.read()
Reads a single character.
|
int |
CharArrayReader.read()
Reads a single character.
|
int |
InputStreamReader.read()
Reads a single character.
|
int |
BufferedInputStream.read()
See
the general contract of the
read
method of InputStream. |
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
BufferedReader.read()
Reads a single character.
|
int |
PushbackReader.read()
Reads a single character.
|
int |
PipedReader.read()
Reads the next character of data from this piped stream.
|
int |
RandomAccessFile.read()
Reads a byte of data from this file.
|
int |
ObjectInputStream.read()
Reads a byte of data.
|
int |
SequenceInputStream.read()
Reads the next byte of data from this input stream.
|
int |
LineNumberReader.read()
Read a single character.
|
int |
FilterInputStream.read()
Reads the next byte of data from this input stream.
|
int |
FileInputStream.read()
Reads a byte of data from this input stream.
|
int |
LineNumberInputStream.read()
Deprecated.
Reads the next byte of data from this input stream.
|
int |
PipedInputStream.read()
Reads the next byte of data from this piped input stream.
|
int |
PushbackInputStream.read()
Reads the next byte of data from this input stream.
|
int |
ObjectInput.read()
Reads a byte of data.
|
int |
Reader.read()
Reads a single character.
|
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into
the buffer array
b. |
int |
RandomAccessFile.read(byte[] b)
Reads up to
b.length bytes of data from this file
into an array of bytes. |
int |
DataInputStream.read(byte[] b)
Reads some number of bytes from the contained input stream and
stores them into the buffer array
b. |
int |
FilterInputStream.read(byte[] b)
Reads up to
byte.length bytes of data from this
input stream into an array of bytes. |
int |
FileInputStream.read(byte[] b)
Reads up to
b.length bytes of data from this input
stream into an array of bytes. |
int |
ObjectInput.read(byte[] b)
Reads into an array of bytes.
|
int |
BufferedInputStream.read(byte[] b,
int off,
int len)
Reads bytes from this byte-input stream into the specified byte array,
starting at the given offset.
|
int |
InputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into
an array of bytes. |
int |
RandomAccessFile.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this file into an
array of bytes. |
int |
ObjectInputStream.read(byte[] buf,
int off,
int len)
Reads into an array of bytes.
|
int |
SequenceInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
DataInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the contained
input stream into an array of bytes. |
int |
FilterInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
FileInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
LineNumberInputStream.read(byte[] b,
int off,
int len)
Deprecated.
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
PipedInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this piped input
stream into an array of bytes. |
int |
PushbackInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream into
an array of bytes. |
int |
ObjectInput.read(byte[] b,
int off,
int len)
Reads into an array of bytes.
|
int |
Reader.read(char[] cbuf)
Reads characters into an array.
|
int |
FilterReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
StringReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
CharArrayReader.read(char[] b,
int off,
int len)
Reads characters into a portion of an array.
|
int |
InputStreamReader.read(char[] cbuf,
int offset,
int length)
Reads characters into a portion of an array.
|
int |
BufferedReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
PushbackReader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
PipedReader.read(char[] cbuf,
int off,
int len)
Reads up to
len characters of data from this piped
stream into an array of characters. |
int |
LineNumberReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
Reads characters into a portion of an array.
|
int |
Reader.read(CharBuffer target)
Attempts to read characters into the specified character buffer.
|
boolean |
RandomAccessFile.readBoolean()
Reads a
boolean from this file. |
boolean |
ObjectInputStream.readBoolean()
Reads in a boolean.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean
method of DataInput. |
boolean |
DataInput.readBoolean()
Reads one input byte and returns
true if that byte is nonzero,
false if that byte is zero. |
byte |
RandomAccessFile.readByte()
Reads a signed eight-bit value from this file.
|
byte |
ObjectInputStream.readByte()
Reads an 8 bit byte.
|
byte |
DataInputStream.readByte()
See the general contract of the
readByte
method of DataInput. |
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
RandomAccessFile.readChar()
Reads a character from this file.
|
char |
ObjectInputStream.readChar()
Reads a 16 bit char.
|
char |
DataInputStream.readChar()
See the general contract of the
readChar
method of DataInput. |
char |
DataInput.readChar()
Reads two input bytes and returns a
char value. |
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor()
Read a class descriptor from the serialization stream.
|
double |
RandomAccessFile.readDouble()
Reads a
double from this file. |
double |
ObjectInputStream.readDouble()
Reads a 64 bit double.
|
double |
DataInputStream.readDouble()
See the general contract of the
readDouble
method of DataInput. |
double |
DataInput.readDouble()
Reads eight input bytes and returns
a
double value. |
void |
Externalizable.readExternal(ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
ObjectInputStream.GetField |
ObjectInputStream.readFields()
Reads the persistent fields from the stream and makes them available by
name.
|
float |
RandomAccessFile.readFloat()
Reads a
float from this file. |
float |
ObjectInputStream.readFloat()
Reads a 32 bit float.
|
float |
DataInputStream.readFloat()
See the general contract of the
readFloat
method of DataInput. |
float |
DataInput.readFloat()
Reads four input bytes and returns
a
float value. |
void |
RandomAccessFile.readFully(byte[] b)
Reads
b.length bytes from this file into the byte
array, starting at the current file pointer. |
void |
ObjectInputStream.readFully(byte[] buf)
Reads bytes, blocking until all bytes are read.
|
void |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully
method of DataInput. |
void |
DataInput.readFully(byte[] b)
Reads some bytes from an input
stream and stores them into the buffer
array
b. |
void |
RandomAccessFile.readFully(byte[] b,
int off,
int len)
Reads exactly
len bytes from this file into the byte
array, starting at the current file pointer. |
void |
ObjectInputStream. |