| 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.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.net |
Provides the classes for implementing networking applications.
|
| java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
|
| java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
| java.nio.file.spi |
Service-provider classes for the
java.nio.file package. |
| 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.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
JavaTM programming language.
|
| 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.accessibility |
Defines a contract between user-interface components and an assistive technology
that provides access to those components.
|
| javax.activation | |
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from
files and streams.
|
| javax.management.loading |
Provides the classes which implement advanced dynamic
loading.
|
| javax.print |
Provides the principal classes and interfaces for the
JavaTM Print Service API.
|
| javax.security.auth.x500 |
This package contains the classes that should be used to store
X500 Principal and X500 Private Crendentials in a
Subject.
|
| javax.security.cert |
Provides classes for public key certificates.
|
| 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 |
Provides the API for server side data source access and processing from
the JavaTM programming language.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet
implementations. |
| javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
| 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.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.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.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for
some of the javax.xml.bind interfaces.
|
| javax.xml.crypto |
Common classes for XML cryptography.
|
| javax.xml.crypto.dsig |
Classes for generating and validating XML digital
signatures.
|
| 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.stream | |
| javax.xml.transform.stream |
This package implements stream- and URI- specific transformation APIs.
|
| 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.ietf.jgss |
This package presents a framework that allows application developers to
make use of security services like authentication, data integrity and
data confidentiality from a variety of underlying security mechanisms
like Kerberos, using a unified API.
|
| 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.w3c.dom.ls | |
| org.xml.sax |
This package provides the core SAX APIs.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
AppletContext.getStream(String key)
Returns the stream to which specified key is associated within this
applet context.
|
| 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 |
|---|---|
static Font |
Font.createFont(int fontFormat,
InputStream fontStream)
Returns a new
Font using the specified font type
and input data. |
| 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.
|
| Constructor and Description |
|---|
XMLDecoder(InputStream in)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener,
ClassLoader cl)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
BeanContext.getResourceAsStream(String name,
BeanContextChild bcc)
Analagous to
java.lang.ClassLoader.getResourceAsStream(),
this method allows a BeanContext implementation
to interpose behavior between the child Component
and underlying ClassLoader. |
InputStream |
BeanContextSupport.getResourceAsStream(String name,
BeanContextChild bcc) |
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedInputStream
A
BufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods. |
class |
ByteArrayInputStream
A
ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream. |
class |
DataInputStream
A data input stream lets an application read primitive Java data
types from an underlying input stream in a machine-independent
way.
|
class |
FileInputStream
A
FileInputStream obtains input bytes
from a file in a file system. |
class |
FilterInputStream
A
FilterInputStream contains
some other input stream, which it uses as
its basic source of data, possibly transforming
the data along the way or providing additional
functionality. |
class |
LineNumberInputStream
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
ObjectInputStream
An ObjectInputStream deserializes primitive data and objects previously
written using an ObjectOutputStream.
|
class |
PipedInputStream
A piped input stream should be connected
to a piped output stream; the piped input
stream then provides whatever data bytes
are written to the piped output stream.
|
class |
PushbackInputStream
A
PushbackInputStream adds
functionality to another input stream, namely
the ability to "push back" or "unread"
one byte. |
class |
SequenceInputStream
A
SequenceInputStream represents
the logical concatenation of other input
streams. |
class |
StringBufferInputStream
Deprecated.
This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred way to create a stream from a
string is via the
StringReader class. |
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
FilterInputStream.in
The input stream to be filtered.
|
| Constructor and Description |
|---|
BufferedInputStream(InputStream in)
Creates a
BufferedInputStream
and saves its argument, the input stream
in, for later use. |
BufferedInputStream(InputStream in,
int size)
Creates a
BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use. |
DataInputStream(InputStream in)
Creates a DataInputStream that uses the specified
underlying InputStream.
|
FilterInputStream(InputStream in)
Creates a
FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use. |
InputStreamReader(InputStream in)
Creates an InputStreamReader that uses the default charset.
|
InputStreamReader(InputStream in,
Charset cs)
Creates an InputStreamReader that uses the given charset.
|
InputStreamReader(InputStream in,
CharsetDecoder dec)
Creates an InputStreamReader that uses the given charset decoder.
|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
LineNumberInputStream(InputStream in)
Deprecated.
Constructs a newline number input stream that reads its input
from the specified input stream.
|
ObjectInputStream(InputStream in)
Creates an ObjectInputStream that reads from the specified InputStream.
|
PushbackInputStream(InputStream in)
Creates a
PushbackInputStream
and saves its argument, the input stream
in, for later use. |
PushbackInputStream(InputStream in,
int size)
Creates a
PushbackInputStream
with a pushback buffer of the specified size,
and saves its argument, the input stream
in, for later use. |
SequenceInputStream(InputStream s1,
InputStream s2)
Initializes a newly
created
SequenceInputStream
by remembering the two arguments, which
will be read in order, first s1
and then s2, to provide the
bytes to be read from this SequenceInputStream. |
StreamTokenizer(InputStream is)
Deprecated.
As of JDK version 1.1, the preferred way to tokenize an
input stream is to convert it into a character stream, for example:
Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r); |
| Constructor and Description |
|---|
SequenceInputStream(Enumeration<? extends InputStream> e)
Initializes a newly created
SequenceInputStream
by remembering the argument, which must
be an Enumeration that produces
objects whose run-time type is InputStream. |
| Modifier and Type | Field and Description |
|---|---|
static InputStream |
System.in
The "standard" input stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract InputStream |
Process.getErrorStream()
Returns the input stream connected to the error output of the
subprocess.
|
abstract InputStream |
Process.getInputStream()
Returns the input stream connected to the normal output of the
subprocess.
|
InputStream |
Runtime.getLocalizedInputStream(InputStream in)
Deprecated.
As of JDK 1.1, the preferred way to translate a byte
stream in the local encoding into a character stream in Unicode is via
the
InputStreamReader and BufferedReader
classes. |
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
Runtime.getLocalizedInputStream(InputStream in)
Deprecated.
As of JDK 1.1, the preferred way to translate a byte
stream in the local encoding into a character stream in Unicode is via
the
InputStreamReader and BufferedReader
classes. |
static void |
System.setIn(InputStream in)
Reassigns the "standard" input stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract InputStream |
CacheResponse.getBody()
Returns the response body as an InputStream.
|
InputStream |
HttpURLConnection.getErrorStream()
Returns the error stream if the connection failed
but the server sent useful data nonetheless.
|
InputStream |
URLConnection.getInputStream()
Returns an input stream that reads from this open connection.
|
protected abstract InputStream |
SocketImpl.getInputStream()
Returns an input stream for this socket.
|
InputStream |
Socket.getInputStream()
Returns an input stream for this socket.
|
InputStream |
URLClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
InputStream |
URL.openStream()
Opens a connection to this
URL and returns an
InputStream for reading from that connection. |
| Modifier and Type | Method and Description |
|---|---|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the
characters at the beginning of the input stream.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
Channels.newInputStream(AsynchronousByteChannel ch)
Constructs a stream that reads bytes from the given channel.
|
static InputStream |
Channels.newInputStream(ReadableByteChannel ch)
Constructs a stream that reads bytes from the given channel.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadableByteChannel |
Channels.newChannel(InputStream in)
Constructs a channel that reads bytes from the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
Files.newInputStream(Path path,
OpenOption... options)
Opens a file, returning an input stream to read from the file.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
Files.copy(InputStream in,
Path target,
CopyOption... options)
Copies all bytes from an input stream to a file.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
FileSystemProvider.newInputStream(Path path,
OpenOption... options)
Opens a file, returning an input stream to read from the file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DigestInputStream
A transparent stream that updates the associated message digest using
the bits going through the stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.decode(InputStream stream)
Deprecated.
Decodes a certificate from an input stream.
|
abstract void |
KeyStoreSpi.engineLoad(InputStream stream,
char[] password)
Loads the keystore from the given input stream.
|
void |
Provider.load(InputStream inStream)
Reads a property list (key and element pairs) from the input stream.
|
void |
KeyStore.load(InputStream stream,
char[] password)
Loads this KeyStore from the given input stream.
|