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.
|
Constructor and Description |
---|
DigestInputStream(InputStream stream,
MessageDigest digest)
Creates a digest input stream, using the specified input stream
and message digest.
|
Modifier and Type | Method and Description |
---|---|
abstract Certificate |
CertificateFactorySpi.engineGenerateCertificate(InputStream inStream)
Generates a certificate object and initializes it with
the data read from the input stream
inStream . |
abstract Collection<? extends Certificate> |
CertificateFactorySpi.engineGenerateCertificates(InputStream inStream)
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream . |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract CRL |
CertificateFactorySpi.engineGenerateCRL(InputStream inStream)
Generates a certificate revocation list (CRL) object and initializes it
with the data read from the input stream
inStream . |
abstract Collection<? extends CRL> |
CertificateFactorySpi.engineGenerateCRLs(InputStream inStream)
Returns a (possibly empty) collection view of the CRLs read
from the given input stream
inStream . |
Certificate |
CertificateFactory.generateCertificate(InputStream inStream)
Generates a certificate object and initializes it with
the data read from the input stream
inStream . |
Collection<? extends Certificate> |
CertificateFactory.generateCertificates(InputStream inStream)
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream . |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CRL |
CertificateFactory.generateCRL(InputStream inStream)
Generates a certificate revocation list (CRL) object and initializes it
with the data read from the input stream
inStream . |
Collection<? extends CRL> |
CertificateFactory.generateCRLs(InputStream inStream)
Returns a (possibly empty) collection view of the CRLs read
from the given input stream
inStream . |
Modifier and Type | Method and Description |
---|---|
InputStream |
Clob.getAsciiStream()
Retrieves the
CLOB value designated by this Clob
object as an ascii stream. |
InputStream |
ResultSet.getAsciiStream(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a stream of ASCII characters. |
InputStream |
ResultSet.getAsciiStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of
ASCII characters. |
InputStream |
Blob.getBinaryStream()
Retrieves the
BLOB value designated by this
Blob instance as a stream. |
InputStream |
SQLXML.getBinaryStream()
Retrieves the XML value designated by this SQLXML instance as a stream.
|
InputStream |
ResultSet.getBinaryStream(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of
uninterpreted bytes. |
InputStream |
Blob.getBinaryStream(long pos,
long length)
Returns an
InputStream object that contains a partial Blob value,
starting with the byte specified by pos, which is length bytes in length. |
InputStream |
ResultSet.getBinaryStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of uninterpreted
byte s. |
InputStream |
ResultSet.getUnicodeStream(int columnIndex)
Deprecated.
use
getCharacterStream in place of
getUnicodeStream |
InputStream |
ResultSet.getUnicodeStream(String columnLabel)
Deprecated.
use
getCharacterStream instead |
InputStream |
SQLInput.readAsciiStream()
Reads the next attribute in the stream and returns it as a stream of ASCII characters.
|
InputStream |
SQLInput.readBinaryStream()
Reads the next attribute in the stream and returns it as a stream of uninterpreted
bytes.
|
Modifier and Type | Method and Description |
---|---|
void |
PreparedStatement.setAsciiStream(int parameterIndex,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
PreparedStatement.setAsciiStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
PreparedStatement.setAsciiStream(int parameterIndex,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
PreparedStatement.setBinaryStream(int parameterIndex,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
PreparedStatement.setBinaryStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
PreparedStatement.setBinaryStream(int parameterIndex,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
PreparedStatement.setBlob(int parameterIndex,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
PreparedStatement.setBlob(int parameterIndex,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
PreparedStatement.setUnicodeStream(int parameterIndex,
InputStream x,
int length)
Deprecated.
|
void |
ResultSet.updateAsciiStream(int columnIndex,
InputStream x)
Updates the designated column with an ascii stream value.
|
void |
ResultSet.updateAsciiStream(int columnIndex,
InputStream x,
int length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateAsciiStream(int columnIndex,
InputStream x,
long length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x)
Updates the designated column with an ascii stream value.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(int columnIndex,
InputStream x)
Updates the designated column with a binary stream value.
|
void |
ResultSet.updateBinaryStream(int columnIndex,
InputStream x,
int length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(int columnIndex,
InputStream x,
long length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x)
Updates the designated column with a binary stream value.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBlob(int columnIndex,
InputStream inputStream)
Updates the designated column using the given input stream.
|
void |
ResultSet.updateBlob(int columnIndex,
InputStream inputStream,
long length)
Updates the designated column using the given input stream, which
will have the specified number of bytes.
|
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream)
Updates the designated column using the given input stream.
|
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream,
long length)
Updates the designated column using the given input stream, which
will have the specified number of bytes.
|
void |
SQLOutput.writeAsciiStream(InputStream x)
Writes the next attribute to the stream as a stream of ASCII characters.
|
void |
SQLOutput.writeBinaryStream(InputStream x)
Writes the next attribute to the stream as a stream of uninterpreted
bytes.
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.load(InputStream inStream)
Reads a property list (key and element pairs) from the input
byte stream.
|
void |
Properties.loadFromXML(InputStream in)
Loads all of the properties represented by the XML document on the
specified input stream into this properties table.
|
Constructor and Description |
---|
PropertyResourceBundle(InputStream stream)
Creates a property resource bundle from an
InputStream . |
Scanner(InputStream source)
Constructs a new
Scanner that produces values scanned
from the specified input stream. |
Scanner(InputStream source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified input stream. |
Modifier and Type | Class and Description |
---|---|
class |
JarInputStream
The
JarInputStream class is used to read the contents of
a JAR file from any input stream. |
Modifier and Type | Method and Description |
---|---|
InputStream |
JarFile.getInputStream(ZipEntry ze)
Returns an input stream for reading the contents of the specified
zip file entry.
|
Modifier and Type | Method and Description |
---|---|
void |
Manifest.read(InputStream is)
Reads the Manifest from the specified InputStream.
|
void |
Pack200.Unpacker.unpack(InputStream in,
JarOutputStream out)
Read a Pack200 archive, and write the encoded JAR to
a JarOutputStream.
|
Constructor and Description |
---|
JarInputStream(InputStream in)
Creates a new
JarInputStream and reads the optional
manifest. |
JarInputStream(InputStream in,
boolean verify)
Creates a new
JarInputStream and reads the optional
manifest. |
Manifest(InputStream is)
Constructs a new Manifest from the specified input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
LogManager.readConfiguration(InputStream ins)
Reinitialize the logging properties and reread the logging configuration
from the given stream, which should be in java.util.Properties format.
|
Modifier and Type | Method and Description |
---|---|
static void |
Preferences.importPreferences(InputStream is)
Imports all of the preferences represented by the XML document on the
specified input stream.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckedInputStream
An input stream that also maintains a checksum of the data being read.
|
class |
DeflaterInputStream
Implements an input stream filter for compressing data in the "deflate"
compression format.
|
class |
GZIPInputStream
This class implements a stream filter for reading compressed data in
the GZIP file format.
|
class |
InflaterInputStream
This class implements a stream filter for uncompressing data in the
"deflate" compression format.
|
class |
ZipInputStream
This class implements an input stream filter for reading files in the
ZIP file format.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
ZipFile.getInputStream(ZipEntry entry)
Returns an input stream for reading the contents of the specified
zip file entry.
|
Constructor and Description |
---|
CheckedInputStream(InputStream in,
Checksum cksum)
Creates an input stream using the specified Checksum.
|
DeflaterInputStream(InputStream in)
Creates a new input stream with a default compressor and buffer
size.
|
DeflaterInputStream(InputStream in,
Deflater defl)
Creates a new input stream with the specified compressor and a
default buffer size.
|
DeflaterInputStream(InputStream in,
Deflater defl,
int bufLen)
Creates a new input stream with the specified compressor and buffer
size.
|
GZIPInputStream(InputStream in)
Creates a new input stream with a default buffer size.
|
GZIPInputStream(InputStream in,
int size)
Creates a new input stream with the specified buffer size.
|
InflaterInputStream(InputStream in)
Creates a new input stream with a default decompressor and buffer size.
|
InflaterInputStream(InputStream in,
Inflater inf)
Creates a new input stream with the specified decompressor and a
default buffer size.
|
InflaterInputStream(InputStream in,
Inflater inf,
int size)
Creates a new input stream with the specified decompressor and
buffer size.
|
ZipInputStream(InputStream in)
Creates a new ZIP input stream.
|
ZipInputStream(InputStream in,
Charset charset)
Creates a new ZIP input stream.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
AccessibleStreamable.getStream(DataFlavor flavor)
Returns an InputStream for a DataFlavor
|
Modifier and Type | Method and Description |
---|---|
InputStream |
URLDataSource.getInputStream()
The getInputStream method from the URL.
|
InputStream |
DataHandler.getInputStream()
Get the InputStream for this object.
|
InputStream |
DataSource.getInputStream()
This method returns an
InputStream representing
the data and throws the appropriate exception if it can
not do so. |
InputStream |
FileDataSource.getInputStream()
This method will return an InputStream representing the
the data and will throw an IOException if it can
not do so.
|
Constructor and Description |
---|
MailcapCommandMap(InputStream is)
Constructor that allows the caller to specify an InputStream
containing a mailcap file.
|
MimetypesFileTypeMap(InputStream is)
Construct a MimetypesFileTypeMap with programmatic entries
added from the InputStream.
|
Modifier and Type | Class and Description |
---|---|
class |
CipherInputStream
A CipherInputStream is composed of an InputStream and a Cipher so
that read() methods return data that are read in from the
underlying InputStream but have been additionally processed by the
Cipher.
|
Constructor and Description |
---|
CipherInputStream(InputStream is)
Constructs a CipherInputStream from an InputStream without
specifying a Cipher.
|
CipherInputStream(InputStream is,
Cipher c)
Constructs a CipherInputStream from an InputStream and a
Cipher.
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageIO.read(InputStream input)
Returns a
BufferedImage as the result of decoding
a supplied InputStream with an ImageReader
chosen automatically from among those currently registered. |
Constructor and Description |
---|
FileCacheImageInputStream(InputStream stream,
File cacheDir)
Constructs a
FileCacheImageInputStream that will read
from a given InputStream . |
MemoryCacheImageInputStream(InputStream stream)
Constructs a
MemoryCacheImageInputStream that will read
from a given InputStream . |
Modifier and Type | Method and Description |
---|---|
InputStream |
MLetMBean.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
SimpleDoc.getStreamForBytes()
Obtains an input stream for extracting byte print data from
this doc.
|
InputStream |
Doc.getStreamForBytes()
Obtains an input stream for extracting byte print data from this
doc.
|
Constructor and Description |
---|
X500Principal(InputStream is)
Creates an
X500Principal from an InputStream
containing the distinguished name in ASN.1 DER encoded form. |
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
X509Certificate.getInstance(InputStream inStream)
Instantiates an X509Certificate object, and initializes it with
the data read from the input stream
inStream . |
Modifier and Type | Method and Description |
---|---|
static MidiFileFormat |
MidiSystem.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the data in the specified input stream.
|
static Sequence |
MidiSystem.getSequence(InputStream stream)
Obtains a MIDI sequence from the specified input stream.
|
static Soundbank |
MidiSystem.getSoundbank(InputStream stream)
Constructs a MIDI sound bank by reading it from the specified stream.
|
void |
Sequencer.setSequence(InputStream stream)
Sets the current sequence on which the sequencer operates.
|
Modifier and Type | Method and Description |
---|---|
abstract MidiFileFormat |
MidiFileReader.getMidiFileFormat(InputStream stream)
Obtains the MIDI file format of the input stream provided.
|
abstract Sequence |
MidiFileReader.getSequence(InputStream stream)
Obtains a MIDI sequence from the input stream provided.
|
abstract Soundbank |
SoundbankReader.getSoundbank(InputStream stream)
Obtains a soundbank object from the
InputStream provided. |
Modifier and Type | Class and Description |
---|---|
class |
AudioInputStream
An audio input stream is an input stream with a specified audio format and
length.
|
Modifier and Type | Method and Description |
---|---|
static AudioFileFormat |
AudioSystem.getAudioFileFormat(InputStream stream)
Obtains the audio file format of the provided input stream.
|
static AudioInputStream |
AudioSystem.getAudioInputStream(InputStream stream)
Obtains an audio input stream from the provided input stream.
|
Constructor and Description |
---|
AudioInputStream(InputStream stream,
AudioFormat format,
long length)
Constructs an audio input stream that has the requested format and length in sample frames,
using audio data from the specified input stream.
|
Modifier and Type | Method and Description |
---|---|
abstract AudioFileFormat |
AudioFileReader.getAudioFileFormat(InputStream stream)
Obtains the audio file format of the input stream provided.
|
abstract AudioInputStream |
AudioFileReader.getAudioInputStream(InputStream stream)
Obtains an audio input stream from the input stream provided.
|
Modifier and Type | Method and Description |
---|---|
void |
RowSet.setAsciiStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
RowSet.setAsciiStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter in this
RowSet object's command
to the given java.io.InputStream value. |
void |
RowSet.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
RowSet.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
RowSet.setBinaryStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
RowSet.setBinaryStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter in this
RowSet object's command
to the given java.io.InputStream value. |
void |
RowSet.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
RowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
RowSet.setBlob(int parameterIndex,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(int parameterIndex,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
Modifier and Type | Field and Description |
---|---|
protected InputStream |
BaseRowSet.asciiStream
The
InputStream object that will be
returned by the method getAsciiStream ,
which is specified in the ResultSet interface. |
protected InputStream |
BaseRowSet.binaryStream
The
InputStream object that will be
returned by the method getBinaryStream , which is
specified in the ResultSet interface. |
protected InputStream |
BaseRowSet.unicodeStream
The
InputStream object that will be
returned by the method getUnicodeStream ,
which is specified in the ResultSet interface. |
Modifier and Type | Method and Description |
---|---|
void |
WebRowSet.readXml(InputStream iStream)
Reads a stream based XML input to populate this
WebRowSet
object. |
void |
BaseRowSet.setAsciiStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
BaseRowSet.setAsciiStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given
java.io.InputStream object,
which will have the specified number of bytes. |
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
BaseRowSet.setBinaryStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
BaseRowSet.setBinaryStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given
java.io.InputStream
object, which will have the specified number of bytes. |
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
BaseRowSet.setBlob(int parameterIndex,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(int parameterIndex,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setUnicodeStream(int parameterIndex,
InputStream x,
int length)
Deprecated.
getCharacterStream should be used in its place
|
Modifier and Type | Method and Description |
---|---|
InputStream |
SerialClob.getAsciiStream()
Retrieves the
CLOB value designated by this SerialClob
object as an ascii stream. |
InputStream |
SerialBlob.getBinaryStream()
Returns this
SerialBlob object as an input stream. |
InputStream |
SerialBlob.getBinaryStream(long pos,
long length)
Returns an
InputStream object that contains a partial Blob value,
starting with the byte specified by pos, which is length bytes in length. |
InputStream |
SQLInputImpl.readAsciiStream()
Returns the next attribute in this
SQLInputImpl object
as a stream of ASCII characters. |
InputStream |
SQLInputImpl.readBinaryStream()
Returns the next attribute in this
SQLInputImpl object
as a stream of uninterpreted bytes. |
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeAsciiStream(InputStream x)
Writes a stream of ASCII characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeBinaryStream(InputStream x)
Writes a stream of uninterpreted bytes to this
SQLOutputImpl
object. |
Modifier and Type | Class and Description |
---|---|
class |
ProgressMonitorInputStream
Monitors the progress of reading from some InputStream.
|
Modifier and Type | Method and Description |
---|---|
protected InputStream |
JEditorPane.getStream(URL page)
Fetches a stream for the given URL, which is about to
be loaded by the
setPage method. |
Modifier and Type | Method and Description |
---|---|
void |
JEditorPane.read(InputStream in,
Object desc)
This method initializes from a stream.
|
Constructor and Description |
---|
ProgressMonitorInputStream(Component parentComponent,
Object message,
InputStream in)
Constructs an object to monitor the progress of an input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
SynthLookAndFeel.load(InputStream input,
Class<?> resourceBase)
Loads the set of
SynthStyle s that will be used by
this SynthLookAndFeel . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultEditorKit.read(InputStream in,
Document doc,
int pos)
Inserts content from the given stream which is expected
to be in a format appropriate for this kind of content
handler.
|
abstract void |
EditorKit.read(InputStream in,
Document doc,
int pos)
Inserts content from the given stream which is expected
to be in a format appropriate for this kind of content
handler.
|
Modifier and Type | Method and Description |
---|---|
void |
RTFEditorKit.read(InputStream in,
Document doc,
int pos)
Insert content from the given stream which is expected
to be in a format appropriate for this kind of content
handler.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
ForwardingFileObject.openInputStream() |
InputStream |
FileObject.openInputStream()
Gets an InputStream for this file object.
|
InputStream |
SimpleJavaFileObject.openInputStream()
This implementation always throws UnsupportedOperationException.
|
Modifier and Type | Method and Description |
---|---|
int |
Tool.run(InputStream in,
OutputStream out,
OutputStream err,
String... arguments)
Run the tool with the given I/O channels and arguments.
|
Modifier and Type | Method and Description |
---|---|
Object |
Unmarshaller.unmarshal(InputStream is)
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
static <T> T |
JAXB.unmarshal(InputStream xml,
Class<T> type)
Reads in a Java object tree from the given XML input.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractUnmarshallerImpl.unmarshal(InputStream is) |
Modifier and Type | Method and Description |
---|---|
InputStream |
OctetStreamData.getOctetStream()
Returns the input stream of this
OctetStreamData . |
Constructor and Description |
---|
OctetStreamData(InputStream octetStream)
Creates a new
OctetStreamData . |
OctetStreamData(InputStream octetStream,
String uri,
String mimeType)
Creates a new
OctetStreamData . |
Modifier and Type | Method and Description |
---|---|
InputStream |
SignedInfo.getCanonicalizedData()
Returns the canonicalized signed info bytes after a signing or
validation operation.
|
InputStream |
Reference.getDigestInputStream()
Returns the pre-digested input stream, if
reference caching
is enabled.
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentBuilder.parse(InputStream is)
Parse the content of the given
InputStream as an XML
document and return a new DOM Document object. |
void |
SAXParser.parse(InputStream is,
DefaultHandler dh)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler . |
void |
SAXParser.parse(InputStream is,
DefaultHandler dh,
String systemId)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler . |
void |
SAXParser.parse(InputStream is,
HandlerBase hb)
Parse the content of the given
InputStream
instance as XML using the specified HandlerBase . |
void |
SAXParser.parse(InputStream is,
HandlerBase hb,
String systemId)
Parse the content of the given
InputStream
instance as XML using the specified HandlerBase . |
Document |
DocumentBuilder.parse(InputStream is,
String systemId)
Parse the content of the given
InputStream as an
XML document and return a new DOM Document object. |
Modifier and Type | Method and Description |
---|---|
abstract InputStream |
AttachmentPart.getBase64Content()
Returns an
InputStream which can be used to obtain the
content of AttachmentPart as Base64 encoded
character data, this method would base64 encode the raw bytes
of the attachment and return. |
abstract InputStream |
AttachmentPart.getRawContent()
Gets the content of this
AttachmentPart object as an
InputStream as if a call had been made to getContent and no
DataContentHandler had been registered for the
content-type of this AttachmentPart . |
Modifier and Type | Method and Description |
---|---|
abstract SOAPMessage |
MessageFactory.createMessage(MimeHeaders headers,
InputStream in)
Internalizes the contents of the given
InputStream object into a
new SOAPMessage object and returns the SOAPMessage
object. |
abstract void |
AttachmentPart.setBase64Content(InputStream content,
String contentType)
Sets the content of this attachment part from the Base64 source
InputStream and sets the value of the
Content-Type header to the value contained in
contentType , This method would first decode the base64
input and write the resulting raw bytes to the attachment. |
abstract void |
AttachmentPart.setRawContent(InputStream content,
String contentType)
Sets the content of this attachment part to that contained by the
InputStream content and sets the value of the
Content-Type header to the value contained in
contentType . |
Modifier and Type | Method and Description |
---|---|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(InputStream stream)
Create a new XMLEventReader from a java.io.InputStream
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(InputStream stream,
String encoding)
Create a new XMLEventReader from a java.io.InputStream
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(String systemId,
InputStream stream)
Create a new XMLEventReader from a java.io.InputStream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream,
String encoding)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(String systemId,
InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream
|
Modifier and Type | Method and Description |
---|---|
InputStream |
StreamSource.getInputStream()
Get the byte stream that was set with setByteStream.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamSource.setInputStream(InputStream inputStream)
Set the byte stream to be used as input.
|
Constructor and Description |
---|
StreamSource(InputStream inputStream)
Construct a StreamSource from a byte stream.
|
StreamSource(InputStream inputStream,
String systemId)
Construct a StreamSource from a byte stream.
|
Modifier and Type | Method and Description |
---|---|
abstract InputStream |
HttpExchange.getRequestBody()
Returns a stream from which the request body can be read.
|
Modifier and Type | Method and Description |
---|---|
void |
GSSContext.acceptSecContext(InputStream inStream,
OutputStream outStream)
Called by the context acceptor to process a token from the peer using
streams.
|
void |
GSSContext.getMIC(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Uses streams to produce a token containing a cryptographic MIC for
the supplied message, for transfer to the peer application.
|
int |
GSSContext.initSecContext(InputStream inStream,
OutputStream outStream)
Called by the context initiator to start the context creation
phase and process any tokens generated
by the peer's
acceptSecContext method using
streams. |
void |
GSSContext.unwrap(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Uses streams to process tokens generated by the
wrap
method on the other side of the context. |
void |
GSSContext.verifyMIC(InputStream tokStream,
InputStream msgStream,
MessageProp msgProp)
Uses streams to verify the cryptographic MIC, contained in the token
parameter, over the supplied message.
|
void |
GSSContext.wrap(InputStream inStream,
OutputStream outStream,
MessageProp msgProp)
Applies per-message security services over the established security
context using streams.
|
Constructor and Description |
---|
Oid(InputStream derOid)
Creates an Oid object from its ASN.1 DER encoding.
|
Modifier and Type | Class and Description |
---|---|
class |
InputStream
InputStream is the Java API for reading IDL types
from CDR marshal streams.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
LSInput.getByteStream()
An attribute of a language and binding dependent type that represents
a stream of bytes.
|
Modifier and Type | Method and Description |
---|---|
void |
LSInput.setByteStream(InputStream byteStream)
An attribute of a language and binding dependent type that represents
a stream of bytes.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
InputSource.getByteStream()
Get the byte stream for this input source.
|
Modifier and Type | Method and Description |
---|---|
void |
InputSource.setByteStream(InputStream byteStream)
Set the byte stream for this input source.
|
Constructor and Description |
---|
InputSource(InputStream byteStream)
Create a new input source with a byte stream.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.