Uses of Class
java.io.InputStream
Packages that use InputStream
Package
Description
Provides a simple high-level Http server API, which can be used to build
   embedded HTTP servers.
Provides the classes necessary to create an applet and the classes an applet
 uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
 graphics and images.
Provides classes for color spaces.
Contains classes related to developing beans -- components based on
 the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Provides for system input and output through data streams,
 serialization and the file system.
Provides classes that are fundamental to the design of the Java
 programming language.
Classes to support module descriptors and creating configurations of modules
 by means of resolution and service binding.
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
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.
Defines interfaces and classes for the Java virtual machine to access files,
 file attributes, and file systems.
Service-provider classes for the 
java.nio.file package.Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths.
Provides the API for accessing and processing data stored in a
 data source (usually a relational database) using the
 Java programming language.
Contains the collections framework, some internationalization support classes,
 a service loader, properties, random number generation, string parsing
 and scanning classes, base64 encoding and decoding, a bit array, and
 several miscellaneous utility classes.
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.
Provides the classes and interfaces of
 the Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and system
 preference and configuration data.
Provides classes for reading and writing the standard ZIP and GZIP file
 formats.
Defines a contract between user-interface components and an assistive
 technology that provides access to those components.
Provides the classes and interfaces for cryptographic
 operations.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with low-level I/O from files and
 streams.
Provides the classes which implement advanced dynamic
        loading.
Provides classes for the secure socket package.
Provides the principal classes and interfaces for the Java Print
 Service API.
This package contains the classes that should be used to store
 X500 Principal and X500 Private Credentials in a
 Subject.
Provides classes for public key certificates.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
 (Musical Instrument Digital Interface) data.
Supplies interfaces for service providers to implement when offering new MIDI
 devices, MIDI file readers and writers, or sound bank readers.
Provides interfaces and classes for capture, processing, and playback of
 sampled audio data.
Supplies abstract classes for service providers to subclass when offering new
 audio devices, sound file readers and writers, or audio format converters.
Provides the API for server side data source access and processing from
 the Java programming language.
Standard interfaces and base classes for JDBC 
RowSet
 implementations.Provides utility classes to allow serializable mappings between SQL types
 and data types in the Java programming language.
Provides a set of "lightweight" (all-Java language) components
 that, to the maximum degree possible, work the same on all platforms.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces that deal with editable and noneditable text
 components.
Provides a class (
RTFEditorKit) for creating Rich-Text-Format text
 editors.Provides interfaces for tools which can be invoked from a program,
 for example, compilers.
Provides the classes for implementing
 
     XML Catalogs OASIS Standard V1.1, 7 October 2005.
Common classes for XML cryptography.
Classes for generating and validating XML digital
 signatures.
 Provides the classes for processing XML documents with a SAX (Simple API for XML)
 parser or a DOM (Document Object Model) Document builder.
 Defines interfaces and classes for the Streaming API for XML (StAX).
Provides stream and URI specific transformation classes.
This package provides classes to create events and control Flight Recorder.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
 which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
Provides a mechanism to launch an instance of a Java shell tool.
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.
 Provides interfaces for DOM Level 3 Load and Save.
Provides the interfaces for the Simple API for XML (SAX).
- 
Uses of InputStream in com.sun.net.httpserverMethods in com.sun.net.httpserver that return InputStreamModifier and TypeMethodDescriptionabstract InputStreamHttpExchange.getRequestBody()Returns a stream from which the request body can be read.Methods in com.sun.net.httpserver with parameters of type InputStreamModifier and TypeMethodDescriptionabstract voidHttpExchange.setStreams(InputStream i, OutputStream o) Used by Filters to wrap either (or both) of this exchange'sInputStreamandOutputStream, with the given filtered streams so that subsequent calls toHttpExchange.getRequestBody()will return the givenInputStream, and calls toHttpExchange.getResponseBody()will return the givenOutputStream.
- 
Uses of InputStream in java.appletMethods in java.applet that return InputStreamModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the stream to which specified key is associated within this applet context.Methods in java.applet with parameters of type InputStreamModifier and TypeMethodDescriptionvoidAppletContext.setStream(String key, InputStream stream) Deprecated, for removal: This API element is subject to removal in a future version.Associates the specified stream with the specified key in this applet context.
- 
Uses of InputStream in java.awtMethods in java.awt with parameters of type InputStreamModifier and TypeMethodDescriptionstatic FontFont.createFont(int fontFormat, InputStream fontStream) Returns a newFontusing the specified font type and input data.static Font[]Font.createFonts(InputStream fontStream) Returns a new array ofFontdecoded from the specified stream.
- 
Uses of InputStream in java.awt.colorMethods in java.awt.color with parameters of type InputStreamModifier and TypeMethodDescriptionstatic ICC_ProfileICC_Profile.getInstance(InputStream s) Constructs anICC_Profilecorresponding to the data in anInputStream.
- 
Uses of InputStream in java.beansConstructors in java.beans with parameters of type InputStreamModifierConstructorDescriptionCreates a new input stream for reading archives created by theXMLEncoderclass.XMLDecoder(InputStream in, Object owner) Creates a new input stream for reading archives created by theXMLEncoderclass.XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener) Creates a new input stream for reading archives created by theXMLEncoderclass.XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl) Creates a new input stream for reading archives created by theXMLEncoderclass.
- 
Uses of InputStream in java.beans.beancontextMethods in java.beans.beancontext that return InputStreamModifier and TypeMethodDescriptionBeanContext.getResourceAsStream(String name, BeanContextChild bcc) Analagous tojava.lang.ClassLoader.getResourceAsStream(), this method allows aBeanContextimplementation to interpose behavior between the childComponentand underlyingClassLoader.BeanContextSupport.getResourceAsStream(String name, BeanContextChild bcc) 
- 
Uses of InputStream in java.ioSubclasses of InputStream in java.ioModifier and TypeClassDescriptionclassABufferedInputStreamadds functionality to another input stream-namely, the ability to buffer the input and to support themarkandresetmethods.classAByteArrayInputStreamcontains an internal buffer that contains bytes that may be read from the stream.classA data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.classAFileInputStreamobtains input bytes from a file in a file system.classAFilterInputStreamwraps some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.classDeprecated.This class incorrectly assumes that bytes adequately represent characters.classAn ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.classA 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.classAPushbackInputStreamadds functionality to another input stream, namely the ability to "push back" or "unread" bytes, by storing pushed-back bytes in an internal buffer.classASequenceInputStreamrepresents the logical concatenation of other input streams.classDeprecated.This class does not properly convert characters into bytes.Fields in java.io declared as InputStreamModifier and TypeFieldDescriptionprotected InputStreamFilterInputStream.inThe input stream to be filtered.Methods in java.io that return InputStreamModifier and TypeMethodDescriptionstatic InputStreamInputStream.nullInputStream()Returns a newInputStreamthat reads no bytes.Constructors in java.io with parameters of type InputStreamModifierConstructorDescriptionCreates aBufferedInputStreamand saves its argument, the input streamin, for later use.BufferedInputStream(InputStream in, int size) Creates aBufferedInputStreamwith the specified buffer size, and saves its argument, the input streamin, for later use.Creates a DataInputStream that uses the specified underlying InputStream.protectedCreates aFilterInputStreamby assigning the argumentinto the fieldthis.inso as to remember it for later use.Creates an InputStreamReader that uses thedefault charset.InputStreamReader(InputStream in, String charsetName) Creates an InputStreamReader that uses the named 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.Deprecated.Constructs a newline number input stream that reads its input from the specified input stream.Creates an ObjectInputStream that reads from the specified InputStream.Creates aPushbackInputStreamwith a 1-byte pushback buffer, and saves its argument, the input streamin, for later use.PushbackInputStream(InputStream in, int size) Creates aPushbackInputStreamwith a pushback buffer of the specifiedsize, and saves its argument, the input streamin, for later use.Initializes a newly createdSequenceInputStreamby remembering the two arguments, which will be read in order, firsts1and thens2, to provide the bytes to be read from thisSequenceInputStream.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:Constructor parameters in java.io with type arguments of type InputStreamModifierConstructorDescriptionSequenceInputStream(Enumeration<? extends InputStream> e) Initializes a newly createdSequenceInputStreamby remembering the argument, which must be anEnumerationthat produces objects whose run-time type isInputStream.
- 
Uses of InputStream in java.langFields in java.lang declared as InputStreamMethods in java.lang that return InputStreamModifier and TypeMethodDescriptionabstract InputStreamProcess.getErrorStream()Returns the input stream connected to the error output of the process.abstract InputStreamProcess.getInputStream()Returns the input stream connected to the normal output of the process.Class.getResourceAsStream(String name) Finds a resource with a given name.ClassLoader.getResourceAsStream(String name) Returns an input stream for reading the specified resource.Module.getResourceAsStream(String name) Returns an input stream for reading a resource in this module.static InputStreamClassLoader.getSystemResourceAsStream(String name) Open for reading, a resource of the specified name from the search path used to load classes.Methods in java.lang with parameters of type InputStreamModifier and TypeMethodDescriptionstatic voidSystem.setIn(InputStream in) Reassigns the "standard" input stream.
- 
Uses of InputStream in java.lang.moduleMethods in java.lang.module that return types with arguments of type InputStreamModifier and TypeMethodDescriptiondefault Optional<InputStream>Opens a resource, returning an input stream to read the resource in the module.Methods in java.lang.module with parameters of type InputStreamModifier and TypeMethodDescriptionstatic ModuleDescriptorModuleDescriptor.read(InputStream in) Reads the binary form of a module declaration from an input stream as a module descriptor.static ModuleDescriptorModuleDescriptor.read(InputStream in, Supplier<Set<String>> packageFinder) Reads the binary form of a module declaration from an input stream as a module descriptor.
- 
Uses of InputStream in java.netMethods in java.net that return InputStreamModifier and TypeMethodDescriptionabstract InputStreamCacheResponse.getBody()Returns the response body as an InputStream.HttpURLConnection.getErrorStream()Returns the error stream if the connection failed but the server sent useful data nonetheless.Socket.getInputStream()Returns an input stream for this socket.protected abstract InputStreamSocketImpl.getInputStream()Returns an input stream for this socket.URLConnection.getInputStream()Returns an input stream that reads from this open connection.URLClassLoader.getResourceAsStream(String name) Returns an input stream for reading the specified resource.final InputStreamURL.openStream()Opens a connection to thisURLand returns anInputStreamfor reading from that connection.Methods in java.net with parameters of type InputStreamModifier and TypeMethodDescriptionstatic StringURLConnection.guessContentTypeFromStream(InputStream is) Tries to determine the type of an input stream based on the characters at the beginning of the input stream.
- 
Uses of InputStream in java.net.httpMethods in java.net.http that return types with arguments of type InputStreamModifier and TypeMethodDescriptionstatic HttpResponse.BodyHandler<InputStream>HttpResponse.BodyHandlers.ofInputStream()Returns aBodyHandler<InputStream>that returns aBodySubscriber<InputStream>obtained fromBodySubscribers.ofInputStream.HttpResponse.BodySubscribers.ofInputStream()Returns aBodySubscriberwhich streams the response body as anInputStream.Method parameters in java.net.http with type arguments of type InputStreamModifier and TypeMethodDescriptionstatic HttpRequest.BodyPublisherHttpRequest.BodyPublishers.ofInputStream(Supplier<? extends InputStream> streamSupplier) A request body publisher that reads its data from anInputStream.
- 
Uses of InputStream in java.nio.channelsMethods in java.nio.channels that return InputStreamModifier and TypeMethodDescriptionstatic InputStreamChannels.newInputStream(AsynchronousByteChannel ch) Constructs a stream that reads bytes from the given channel.static InputStreamChannels.newInputStream(ReadableByteChannel ch) Constructs a stream that reads bytes from the given channel.Methods in java.nio.channels with parameters of type InputStreamModifier and TypeMethodDescriptionstatic ReadableByteChannelChannels.newChannel(InputStream in) Constructs a channel that reads bytes from the given stream.
- 
Uses of InputStream in java.nio.fileMethods in java.nio.file that return InputStreamModifier and TypeMethodDescriptionstatic InputStreamFiles.newInputStream(Path path, OpenOption... options) Opens a file, returning an input stream to read from the file.Methods in java.nio.file with parameters of type InputStreamModifier and TypeMethodDescriptionstatic longFiles.copy(InputStream in, Path target, CopyOption... options) Copies all bytes from an input stream to a file.
- 
Uses of InputStream in java.nio.file.spiMethods in java.nio.file.spi that return InputStreamModifier and TypeMethodDescriptionFileSystemProvider.newInputStream(Path path, OpenOption... options) Opens a file, returning an input stream to read from the file.
- 
Uses of InputStream in java.securitySubclasses of InputStream in java.securityModifier and TypeClassDescriptionclassA transparent stream that updates the associated message digest using the bits going through the stream.Methods in java.security with parameters of type InputStreamModifier and TypeMethodDescriptionvoidCertificate.decode(InputStream stream) Deprecated, for removal: This API element is subject to removal in a future version.Decodes a certificate from an input stream.abstract voidKeyStoreSpi.engineLoad(InputStream stream, char[] password) Loads the keystore from the given input stream.booleanKeyStoreSpi.engineProbe(InputStream stream) Probes the specified input stream to determine whether it contains a keystore that is supported by this implementation, or not.final voidKeyStore.load(InputStream stream, char[] password) Loads this KeyStore from the given input stream.voidProvider.load(InputStream inStream) Reads a property list (key and element pairs) from the input stream.Constructors in java.security with parameters of type InputStreamModifierConstructorDescriptionDigestInputStream(InputStream stream, MessageDigest digest) Creates a digest input stream, using the specified input stream and message digest.
- 
Uses of InputStream in java.security.certMethods in java.security.cert with parameters of type InputStreamModifier and TypeMethodDescriptionabstract CertificateCertificateFactorySpi.engineGenerateCertificate(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream.abstract Collection<? extends Certificate>CertificateFactorySpi.engineGenerateCertificates(InputStream inStream) Returns a (possibly empty) collection view of the certificates read from the given input streaminStream.CertificateFactorySpi.engineGenerateCertPath(InputStream inStream) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertificateFactorySpi.engineGenerateCertPath(InputStream inStream, String encoding) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.abstract CRLCertificateFactorySpi.engineGenerateCRL(InputStream inStream) Generates a certificate revocation list (CRL) object and initializes it with the data read from the input streaminStream.abstract Collection<? extends CRL>CertificateFactorySpi.engineGenerateCRLs(InputStream inStream) Returns a (possibly empty) collection view of the CRLs read from the given input streaminStream.final CertificateCertificateFactory.generateCertificate(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream.final Collection<? extends Certificate>CertificateFactory.generateCertificates(InputStream inStream) Returns a (possibly empty) collection view of the certificates read from the given input streaminStream.final CertPathCertificateFactory.generateCertPath(InputStream inStream) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.final CertPathCertificateFactory.generateCertPath(InputStream inStream, String encoding) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.final CRLCertificateFactory.generateCRL(InputStream inStream) Generates a certificate revocation list (CRL) object and initializes it with the data read from the input streaminStream.final Collection<? extends CRL>CertificateFactory.generateCRLs(InputStream inStream) Returns a (possibly empty) collection view of the CRLs read from the given input streaminStream.
- 
Uses of InputStream in java.sqlMethods in java.sql that return InputStreamModifier and TypeMethodDescriptionClob.getAsciiStream()Retrieves theCLOBvalue designated by thisClobobject as an ascii stream.ResultSet.getAsciiStream(int columnIndex) Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of ASCII characters.ResultSet.getAsciiStream(String columnLabel) Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of ASCII characters.Blob.getBinaryStream()Retrieves theBLOBvalue designated by thisBlobinstance as a stream.Blob.getBinaryStream(long pos, long length) Returns anInputStreamobject that contains a partialBlobvalue, starting with the byte specified by pos, which is length bytes in length.ResultSet.getBinaryStream(int columnIndex) Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of uninterpreted bytes.ResultSet.getBinaryStream(String columnLabel) Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of uninterpretedbytes.SQLXML.getBinaryStream()Retrieves the XML value designated by this SQLXML instance as a stream.ResultSet.getUnicodeStream(int columnIndex) Deprecated.usegetCharacterStreamin place ofgetUnicodeStreamResultSet.getUnicodeStream(String columnLabel) Deprecated.usegetCharacterStreaminsteadSQLInput.readAsciiStream()Reads the next attribute in the stream and returns it as a stream of ASCII characters.SQLInput.readBinaryStream()Reads the next attribute in the stream and returns it as a stream of uninterpreted bytes.Methods in java.sql with parameters of type InputStreamModifier and TypeMethodDescriptionvoidCallableStatement.setAsciiStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidCallableStatement.setAsciiStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidCallableStatement.setAsciiStream(String parameterName, InputStream x, long length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidPreparedStatement.setAsciiStream(int parameterIndex, InputStream x) Sets the designated parameter to the given input stream.voidPreparedStatement.setAsciiStream(int parameterIndex, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidPreparedStatement.setAsciiStream(int parameterIndex, InputStream x, long length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidCallableStatement.setBinaryStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidCallableStatement.setBinaryStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidCallableStatement.setBinaryStream(String parameterName, InputStream x, long length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidPreparedStatement.setBinaryStream(int parameterIndex, InputStream x) Sets the designated parameter to the given input stream.voidPreparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidPreparedStatement.setBinaryStream(int parameterIndex, InputStream x, long length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidCallableStatement.setBlob(String parameterName, InputStream inputStream) Sets the designated parameter to anInputStreamobject.voidCallableStatement.setBlob(String parameterName, InputStream inputStream, long length) Sets the designated parameter to anInputStreamobject.voidPreparedStatement.setBlob(int parameterIndex, InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidPreparedStatement.setBlob(int parameterIndex, InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidPreparedStatement.setUnicodeStream(int parameterIndex, InputStream x, int length) Deprecated.UsesetCharacterStreamvoidResultSet.updateAsciiStream(int columnIndex, InputStream x) Updates the designated column with an ascii stream value.voidResultSet.updateAsciiStream(int columnIndex, InputStream x, int length) Updates the designated column with an ascii stream value, which will have the specified number of bytes.voidResultSet.updateAsciiStream(int columnIndex, InputStream x, long length) Updates the designated column with an ascii stream value, which will have the specified number of bytes.voidResultSet.updateAsciiStream(String columnLabel, InputStream x) Updates the designated column with an ascii stream value.voidResultSet.updateAsciiStream(String columnLabel, InputStream x, int length) Updates the designated column with an ascii stream value, which will have the specified number of bytes.voidResultSet.updateAsciiStream(String columnLabel, InputStream x, long length) Updates the designated column with an ascii stream value, which will have the specified number of bytes.voidResultSet.updateBinaryStream(int columnIndex, InputStream x) Updates the designated column with a binary stream value.voidResultSet.updateBinaryStream(int columnIndex, InputStream x, int length) Updates the designated column with a binary stream value, which will have the specified number of bytes.voidResultSet.updateBinaryStream(int columnIndex, InputStream x, long length) Updates the designated column with a binary stream value, which will have the specified number of bytes.voidResultSet.updateBinaryStream(String columnLabel, InputStream x) Updates the designated column with a binary stream value.voidResultSet.updateBinaryStream(String columnLabel, InputStream x, int length) Updates the designated column with a binary stream value, which will have the specified number of bytes.voidResultSet.updateBinaryStream(String columnLabel, InputStream x, long length) Updates the designated column with a binary stream value, which will have the specified number of bytes.voidResultSet.updateBlob(int columnIndex, InputStream inputStream) Updates the designated column using the given input stream.voidResultSet.updateBlob(int columnIndex, InputStream inputStream, long length) Updates the designated column using the given input stream, which will have the specified number of bytes.voidResultSet.updateBlob(String columnLabel, InputStream inputStream) Updates the designated column using the given input stream.voidResultSet.updateBlob(String columnLabel, InputStream inputStream, long length) Updates the designated column using the given input stream, which will have the specified number of bytes.voidSQLOutput.writeAsciiStream(InputStream x) Writes the next attribute to the stream as a stream of ASCII characters.voidSQLOutput.writeBinaryStream(InputStream x) Writes the next attribute to the stream as a stream of uninterpreted bytes.
- 
Uses of InputStream in java.utilMethods in java.util that return InputStreamModifier and TypeMethodDescriptionBase64.Decoder.wrap(InputStream is) Returns an input stream for decodingBase64encoded byte stream.Methods in java.util with parameters of type InputStreamModifier and TypeMethodDescriptionvoidProperties.load(InputStream inStream) Reads a property list (key and element pairs) from the input byte stream.voidProperties.loadFromXML(InputStream in) Loads all of the properties represented by the XML document on the specified input stream into this properties table.Base64.Decoder.wrap(InputStream is) Returns an input stream for decodingBase64encoded byte stream.Constructors in java.util with parameters of type InputStreamModifierConstructorDescriptionPropertyResourceBundle(InputStream stream) Creates a property resource bundle from anInputStream.Scanner(InputStream source) Constructs a newScannerthat produces values scanned from the specified input stream.Scanner(InputStream source, String charsetName) Constructs a newScannerthat produces values scanned from the specified input stream.Scanner(InputStream source, Charset charset) Constructs a newScannerthat produces values scanned from the specified input stream.
- 
Uses of InputStream in java.util.jarSubclasses of InputStream in java.util.jarModifier and TypeClassDescriptionclassTheJarInputStreamclass is used to read the contents of a JAR file from any input stream.Methods in java.util.jar that return InputStreamModifier and TypeMethodDescriptionJarFile.getInputStream(ZipEntry ze) Returns an input stream for reading the contents of the specified zip file entry.Methods in java.util.jar with parameters of type InputStreamModifier and TypeMethodDescriptionvoidManifest.read(InputStream is) Reads the Manifest from the specified InputStream.Constructors in java.util.jar with parameters of type InputStreamModifierConstructorDescriptionCreates a newJarInputStreamand reads the optional manifest.JarInputStream(InputStream in, boolean verify) Creates a newJarInputStreamand reads the optional manifest.Manifest(InputStream is) Constructs a new Manifest from the specified input stream.
- 
Uses of InputStream in java.util.loggingMethods in java.util.logging with parameters of type InputStreamModifier and TypeMethodDescriptionvoidLogManager.readConfiguration(InputStream ins) Reads and initializes the logging configuration from the given input stream.voidLogManager.updateConfiguration(InputStream ins, Function<String, BiFunction<String, String, String>> mapper) Updates the logging configuration.
- 
Uses of InputStream in java.util.prefsMethods in java.util.prefs with parameters of type InputStreamModifier and TypeMethodDescriptionstatic voidPreferences.importPreferences(InputStream is) Imports all of the preferences represented by the XML document on the specified input stream.
- 
Uses of InputStream in java.util.zipSubclasses of InputStream in java.util.zipModifier and TypeClassDescriptionclassAn input stream that also maintains a checksum of the data being read.classImplements an input stream filter for compressing data in the "deflate" compression format.classThis class implements a stream filter for reading compressed data in the GZIP file format.classThis class implements a stream filter for uncompressing data in the "deflate" compression format.classThis class implements an input stream filter for reading files in the ZIP file format.Methods in java.util.zip that return InputStreamModifier and TypeMethodDescriptionZipFile.getInputStream(ZipEntry entry) Returns an input stream for reading the contents of the specified zip file entry.Constructors in java.util.zip with parameters of type InputStreamModifierConstructorDescriptionCheckedInputStream(InputStream in, Checksum cksum) Creates an input stream using the specified Checksum.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.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.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.Creates a new ZIP input stream.ZipInputStream(InputStream in, Charset charset) Creates a new ZIP input stream.
- 
Uses of InputStream in javax.accessibilityMethods in javax.accessibility that return InputStreamModifier and TypeMethodDescriptionAccessibleStreamable.getStream(DataFlavor flavor) Returns anInputStreamfor aDataFlavor.
- 
Uses of InputStream in javax.cryptoSubclasses of InputStream in javax.cryptoModifier and TypeClassDescriptionclassA 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.Constructors in javax.crypto with parameters of type InputStreamModifierConstructorDescriptionprotectedConstructs a CipherInputStream from an InputStream without specifying a Cipher.CipherInputStream(InputStream is, Cipher c) Constructs a CipherInputStream from an InputStream and a Cipher.
- 
Uses of InputStream in javax.imageioMethods in javax.imageio with parameters of type InputStreamModifier and TypeMethodDescriptionstatic BufferedImageImageIO.read(InputStream input) Returns aBufferedImageas the result of decoding a suppliedInputStreamwith anImageReaderchosen automatically from among those currently registered.
- 
Uses of InputStream in javax.imageio.streamConstructors in javax.imageio.stream with parameters of type InputStreamModifierConstructorDescriptionFileCacheImageInputStream(InputStream stream, File cacheDir) Constructs aFileCacheImageInputStreamthat will read from a givenInputStream.Constructs aMemoryCacheImageInputStreamthat will read from a givenInputStream.
- 
Uses of InputStream in javax.management.loadingMethods in javax.management.loading that return InputStreamModifier and TypeMethodDescriptionMLetMBean.getResourceAsStream(String name) Returns an input stream for reading the specified resource.
- 
Uses of InputStream in javax.net.sslMethods in javax.net.ssl with parameters of type InputStreamModifier and TypeMethodDescriptionSSLSocketFactory.createSocket(Socket s, InputStream consumed, boolean autoClose) Creates a server modeSocketlayered over an existing connected socket, and is able to read data which has already been consumed/removed from theSocket's underlyingInputStream.
- 
Uses of InputStream in javax.printMethods in javax.print that return InputStreamModifier and TypeMethodDescriptionDoc.getStreamForBytes()Obtains an input stream for extracting byte print data from this doc.SimpleDoc.getStreamForBytes()Obtains an input stream for extracting byte print data from this doc.
- 
Uses of InputStream in javax.security.auth.x500Constructors in javax.security.auth.x500 with parameters of type InputStreamModifierConstructorDescriptionCreates anX500Principalfrom anInputStreamcontaining the distinguished name in ASN.1 DER encoded form.
- 
Uses of InputStream in javax.security.certMethods in javax.security.cert with parameters of type InputStreamModifier and TypeMethodDescriptionstatic final X509CertificateX509Certificate.getInstance(InputStream inStream) Deprecated, for removal: This API element is subject to removal in a future version.Instantiates an X509Certificate object, and initializes it with the data read from the input streaminStream.
- 
Uses of InputStream in javax.sound.midiMethods in javax.sound.midi with parameters of type InputStreamModifier and TypeMethodDescriptionstatic MidiFileFormatMidiSystem.getMidiFileFormat(InputStream stream) Obtains the MIDI file format of the data in the specified input stream.static SequenceMidiSystem.getSequence(InputStream stream) Obtains a MIDI sequence from the specified input stream.static SoundbankMidiSystem.getSoundbank(InputStream stream) Constructs a MIDI sound bank by reading it from the specified stream.voidSequencer.setSequence(InputStream stream) Sets the current sequence on which the sequencer operates.
- 
Uses of InputStream in javax.sound.midi.spiMethods in javax.sound.midi.spi with parameters of type InputStreamModifier and TypeMethodDescriptionabstract MidiFileFormatMidiFileReader.getMidiFileFormat(InputStream stream) Obtains the MIDI file format of the input stream provided.abstract SequenceMidiFileReader.getSequence(InputStream stream) Obtains a MIDI sequence from the input stream provided.abstract SoundbankSoundbankReader.getSoundbank(InputStream stream) Obtains a soundbank object from theInputStreamprovided.
- 
Uses of InputStream in javax.sound.sampledSubclasses of InputStream in javax.sound.sampledModifier and TypeClassDescriptionclassAn audio input stream is an input stream with a specified audio format and length.Methods in javax.sound.sampled with parameters of type InputStreamModifier and TypeMethodDescriptionstatic AudioFileFormatAudioSystem.getAudioFileFormat(InputStream stream) Obtains the audio file format of the provided input stream.static AudioInputStreamAudioSystem.getAudioInputStream(InputStream stream) Obtains an audio input stream from the provided input stream.Constructors in javax.sound.sampled with parameters of type InputStreamModifierConstructorDescriptionAudioInputStream(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.
- 
Uses of InputStream in javax.sound.sampled.spiMethods in javax.sound.sampled.spi with parameters of type InputStreamModifier and TypeMethodDescriptionabstract AudioFileFormatAudioFileReader.getAudioFileFormat(InputStream stream) Obtains the audio file format of the input stream provided.abstract AudioInputStreamAudioFileReader.getAudioInputStream(InputStream stream) Obtains an audio input stream from the input stream provided.
- 
Uses of InputStream in javax.sqlMethods in javax.sql with parameters of type InputStreamModifier and TypeMethodDescriptionvoidRowSet.setAsciiStream(int parameterIndex, InputStream x) Sets the designated parameter in thisRowSetobject's command to the given input stream.voidRowSet.setAsciiStream(int parameterIndex, InputStream x, int length) Sets the designated parameter in thisRowSetobject's command to the givenjava.io.InputStreamvalue.voidRowSet.setAsciiStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidRowSet.setAsciiStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidRowSet.setBinaryStream(int parameterIndex, InputStream x) Sets the designated parameter in thisRowSetobject's command to the given input stream.voidRowSet.setBinaryStream(int parameterIndex, InputStream x, int length) Sets the designated parameter in thisRowSetobject's command to the givenjava.io.InputStreamvalue.voidRowSet.setBinaryStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidRowSet.setBinaryStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidRowSet.setBlob(int parameterIndex, InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidRowSet.setBlob(int parameterIndex, InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidRowSet.setBlob(String parameterName, InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidRowSet.setBlob(String parameterName, InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.
- 
Uses of InputStream in javax.sql.rowsetFields in javax.sql.rowset declared as InputStreamModifier and TypeFieldDescriptionprotected InputStreamBaseRowSet.asciiStreamTheInputStreamobject that will be returned by the methodgetAsciiStream, which is specified in theResultSetinterface.protected InputStreamBaseRowSet.binaryStreamTheInputStreamobject that will be returned by the methodgetBinaryStream, which is specified in theResultSetinterface.protected InputStreamBaseRowSet.unicodeStreamTheInputStreamobject that will be returned by the methodgetUnicodeStream, which is specified in theResultSetinterface.Methods in javax.sql.rowset with parameters of type InputStreamModifier and TypeMethodDescriptionvoidWebRowSet.readXml(InputStream iStream) Reads a stream based XML input to populate thisWebRowSetobject.voidBaseRowSet.setAsciiStream(int parameterIndex, InputStream x) Sets the designated parameter in thisRowSetobject's command to the given input stream.voidBaseRowSet.setAsciiStream(int parameterIndex, InputStream x, int length) Sets the designated parameter to the givenjava.io.InputStreamobject, which will have the specified number of bytes.voidBaseRowSet.setAsciiStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidBaseRowSet.setAsciiStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidBaseRowSet.setBinaryStream(int parameterIndex, InputStream x) Sets the designated parameter in thisRowSetobject's command to the given input stream.voidBaseRowSet.setBinaryStream(int parameterIndex, InputStream x, int length) Sets the designated parameter to the givenjava.io.InputStreamobject, which will have the specified number of bytes.voidBaseRowSet.setBinaryStream(String parameterName, InputStream x) Sets the designated parameter to the given input stream.voidBaseRowSet.setBinaryStream(String parameterName, InputStream x, int length) Sets the designated parameter to the given input stream, which will have the specified number of bytes.voidBaseRowSet.setBlob(int parameterIndex, InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidBaseRowSet.setBlob(int parameterIndex, InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidBaseRowSet.setBlob(String parameterName, InputStream inputStream) Sets the designated parameter to aInputStreamobject.voidBaseRowSet.setBlob(String parameterName, InputStream inputStream, long length) Sets the designated parameter to aInputStreamobject.voidBaseRowSet.setUnicodeStream(int parameterIndex, InputStream x, int length) Deprecated.getCharacterStream should be used in its place
- 
Uses of InputStream in javax.sql.rowset.serialMethods in javax.sql.rowset.serial that return InputStreamModifier and TypeMethodDescriptionSerialClob.getAsciiStream()Retrieves theCLOBvalue designated by thisSerialClobobject as an ascii stream.SerialBlob.getBinaryStream()Returns thisSerialBlobobject as an input stream.SerialBlob.getBinaryStream(long pos, long length) Returns anInputStreamobject that contains a partialBlobvalue, starting with the byte specified by pos, which is length bytes in length.SQLInputImpl.readAsciiStream()Returns the next attribute in thisSQLInputImplobject as a stream of ASCII characters.SQLInputImpl.readBinaryStream()Returns the next attribute in thisSQLInputImplobject as a stream of uninterpreted bytes.Methods in javax.sql.rowset.serial with parameters of type InputStreamModifier and TypeMethodDescriptionvoidSQLOutputImpl.writeAsciiStream(InputStream x) Writes a stream of ASCII characters to thisSQLOutputImplobject.voidSQLOutputImpl.writeBinaryStream(InputStream x) Writes a stream of uninterpreted bytes to thisSQLOutputImplobject.
- 
Uses of InputStream in javax.swingSubclasses of InputStream in javax.swingModifier and TypeClassDescriptionclassMonitors the progress of reading from some InputStream.Methods in javax.swing that return InputStreamModifier and TypeMethodDescriptionprotected InputStreamFetches a stream for the given URL, which is about to be loaded by thesetPagemethod.Methods in javax.swing with parameters of type InputStreamModifier and TypeMethodDescriptionvoidJEditorPane.read(InputStream in, Object desc) This method initializes from a stream.Constructors in javax.swing with parameters of type InputStreamModifierConstructorDescriptionProgressMonitorInputStream(Component parentComponent, Object message, InputStream in) Constructs an object to monitor the progress of an input stream.
- 
Uses of InputStream in javax.swing.plaf.synthMethods in javax.swing.plaf.synth with parameters of type InputStreamModifier and TypeMethodDescriptionvoidSynthLookAndFeel.load(InputStream input, Class<?> resourceBase) Loads the set ofSynthStyles that will be used by thisSynthLookAndFeel.
- 
Uses of InputStream in javax.swing.textMethods in javax.swing.text with parameters of type InputStreamModifier and TypeMethodDescriptionvoidDefaultEditorKit.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 voidEditorKit.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.
- 
Uses of InputStream in javax.swing.text.rtfMethods in javax.swing.text.rtf with parameters of type InputStreamModifier and TypeMethodDescriptionvoidRTFEditorKit.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.
- 
Uses of InputStream in javax.toolsMethods in javax.tools that return InputStreamModifier and TypeMethodDescriptionFileObject.openInputStream()Returns an InputStream for this file object.ForwardingFileObject.openInputStream()SimpleJavaFileObject.openInputStream()This implementation always throws UnsupportedOperationException.Methods in javax.tools with parameters of type InputStreamModifier and TypeMethodDescriptionintTool.run(InputStream in, OutputStream out, OutputStream err, String... arguments) Run the tool with the given I/O channels and arguments.
- 
Uses of InputStream in javax.xml.catalogMethods in javax.xml.catalog that return InputStreamModifier and TypeMethodDescriptionCatalogResolver.resolveEntity(String publicId, String systemId, String baseUri, String namespace) ImplementsXMLResolver.
- 
Uses of InputStream in javax.xml.cryptoMethods in javax.xml.crypto that return InputStreamModifier and TypeMethodDescriptionOctetStreamData.getOctetStream()Returns the input stream of thisOctetStreamData.Constructors in javax.xml.crypto with parameters of type InputStreamModifierConstructorDescriptionOctetStreamData(InputStream octetStream) Creates a newOctetStreamData.OctetStreamData(InputStream octetStream, String uri, String mimeType) Creates a newOctetStreamData.
- 
Uses of InputStream in javax.xml.crypto.dsigMethods in javax.xml.crypto.dsig that return InputStreamModifier and TypeMethodDescriptionSignedInfo.getCanonicalizedData()Returns the canonicalized signed info bytes after a signing or validation operation.Reference.getDigestInputStream()Returns the pre-digested input stream, if reference caching is enabled.
- 
Uses of InputStream in javax.xml.parsersMethods in javax.xml.parsers with parameters of type InputStreamModifier and TypeMethodDescriptionDocumentBuilder.parse(InputStream is) Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.DocumentBuilder.parse(InputStream is, String systemId) Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.voidSAXParser.parse(InputStream is, HandlerBase hb) Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser.parse(InputStream is, HandlerBase hb, String systemId) Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser.parse(InputStream is, DefaultHandler dh) Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.voidSAXParser.parse(InputStream is, DefaultHandler dh, String systemId) Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.
- 
Uses of InputStream in javax.xml.streamMethods in javax.xml.stream with parameters of type InputStreamModifier and TypeMethodDescriptionabstract XMLEventReaderXMLInputFactory.createXMLEventReader(InputStream stream) Create a new XMLEventReader from a java.io.InputStreamabstract XMLEventReaderXMLInputFactory.createXMLEventReader(InputStream stream, String encoding) Create a new XMLEventReader from a java.io.InputStreamabstract XMLEventReaderXMLInputFactory.createXMLEventReader(String systemId, InputStream stream) Create a new XMLEventReader from a java.io.InputStreamabstract XMLStreamReaderXMLInputFactory.createXMLStreamReader(InputStream stream) Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReaderXMLInputFactory.createXMLStreamReader(InputStream stream, String encoding) Create a new XMLStreamReader from a java.io.InputStream.abstract XMLStreamReaderXMLInputFactory.createXMLStreamReader(String systemId, InputStream stream) Create a new XMLStreamReader from a java.io.InputStream.
- 
Uses of InputStream in javax.xml.transform.streamMethods in javax.xml.transform.stream that return InputStreamModifier and TypeMethodDescriptionStreamSource.getInputStream()Get the byte stream that was set with setByteStream.Methods in javax.xml.transform.stream with parameters of type InputStreamModifier and TypeMethodDescriptionvoidStreamSource.setInputStream(InputStream inputStream) Set the byte stream to be used as input.Constructors in javax.xml.transform.stream with parameters of type InputStreamModifierConstructorDescriptionStreamSource(InputStream inputStream) Construct a StreamSource from a byte stream.StreamSource(InputStream inputStream, String systemId) Construct a StreamSource from a byte stream.
- 
Uses of InputStream in jdk.jfrMethods in jdk.jfr that return InputStreamModifier and TypeMethodDescriptionCreates a data stream for a specified interval.
- 
Uses of InputStream in jdk.jshellMethods in jdk.jshell with parameters of type InputStreamModifier and TypeMethodDescriptionJShell.Builder.in(InputStream in) Sets the input for the running evaluation (it'sSystem.in).
- 
Uses of InputStream in jdk.jshell.executionMethods in jdk.jshell.execution with parameters of type InputStreamModifier and TypeMethodDescriptionstatic voidUtil.forwardExecutionControlAndIO(ExecutionControl ec, InputStream inStream, OutputStream outStream, Map<String, Consumer<OutputStream>> outputStreamMap, Map<String, Consumer<InputStream>> inputStreamMap) Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.static ExecutionControlUtil.remoteInputOutput(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output.
- 
Uses of InputStream in jdk.jshell.spiMethods in jdk.jshell.spi that return InputStream
- 
Uses of InputStream in jdk.jshell.toolMethods in jdk.jshell.tool with parameters of type InputStreamModifier and TypeMethodDescriptionJavaShellToolBuilder.in(InputStream cmdIn, InputStream userIn) Set the input channels.
- 
Uses of InputStream in org.ietf.jgssMethods in org.ietf.jgss with parameters of type InputStreamModifier and TypeMethodDescriptionvoidGSSContext.acceptSecContext(InputStream inStream, OutputStream outStream) Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext.getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp) Deprecated.The stream-based methods have been removed from RFC 8353.intGSSContext.initSecContext(InputStream inStream, OutputStream outStream) Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext.unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp) Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext.verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp) Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext.wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp) Deprecated.The stream-based methods have been removed from RFC 8353.Constructors in org.ietf.jgss with parameters of type InputStreamModifierConstructorDescriptionOid(InputStream derOid) Creates an Oid object from its ASN.1 DER encoding.
- 
Uses of InputStream in org.w3c.dom.lsMethods in org.w3c.dom.ls that return InputStreamModifier and TypeMethodDescriptionLSInput.getByteStream()An attribute of a language and binding dependent type that represents a stream of bytes.Methods in org.w3c.dom.ls with parameters of type InputStreamModifier and TypeMethodDescriptionvoidLSInput.setByteStream(InputStream byteStream) An attribute of a language and binding dependent type that represents a stream of bytes.
- 
Uses of InputStream in org.xml.saxMethods in org.xml.sax that return InputStreamModifier and TypeMethodDescriptionInputSource.getByteStream()Get the byte stream for this input source.Methods in org.xml.sax with parameters of type InputStreamModifier and TypeMethodDescriptionvoidInputSource.setByteStream(InputStream byteStream) Set the byte stream for this input source.Constructors in org.xml.sax with parameters of type InputStreamModifierConstructorDescriptionInputSource(InputStream byteStream) Create a new input source with a byte stream.