Uses of Class
java.io.InputStream
Packages that useInputStream
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 developingbeans -- 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 aSubject.
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 ofInputStream incom.sun.net.httpserver
Methods incom.sun.net.httpserver that returnInputStreamModifier and TypeMethodDescriptionabstractInputStreamHttpExchange.getRequestBody()Returns a stream from which the request body can be read.Methods incom.sun.net.httpserver with parameters of typeInputStreamModifier and TypeMethodDescriptionabstract voidHttpExchange.setStreams(InputStream i,OutputStream o) Used byFilters 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 ofInputStream injava.applet
Methods injava.applet that returnInputStreamModifier 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 injava.applet with parameters of typeInputStreamModifier 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 ofInputStream injava.awt
Methods injava.awt with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticFontFont.createFont(int fontFormat,InputStream fontStream) Returns a newFontusing the specified font type and input data.staticFont[]Font.createFonts(InputStream fontStream) Returns a new array ofFontdecoded from the specified stream.Uses ofInputStream injava.awt.color
Methods injava.awt.color with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticICC_ProfileICC_Profile.getInstance(InputStream s) Constructs anICC_Profilecorresponding to the data in anInputStream.Uses ofInputStream injava.beans
Constructors injava.beans with parameters of typeInputStreamModifierConstructorDescriptionCreates 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 ofInputStream injava.beans.beancontext
Methods injava.beans.beancontext that returnInputStreamModifier 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 ofInputStream injava.io
Subclasses ofInputStream injava.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.classAFilterInputStreamcontains 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 injava.io declared asInputStreamModifier and TypeFieldDescriptionprotectedInputStreamFilterInputStream.inThe input stream to be filtered.Methods injava.io that returnInputStreamModifier and TypeMethodDescriptionstaticInputStreamInputStream.nullInputStream()Returns a newInputStreamthat reads no bytes.Constructors injava.io with parameters of typeInputStreamModifierConstructorDescriptionCreates 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.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 injava.io with type arguments of typeInputStreamModifierConstructorDescriptionSequenceInputStream(Enumeration<? extendsInputStream> e) Initializes a newly createdSequenceInputStreamby remembering the argument, which must be anEnumerationthat produces objects whose run-time type isInputStream.Uses ofInputStream injava.lang
Fields injava.lang declared asInputStreamMethods injava.lang that returnInputStreamModifier and TypeMethodDescriptionabstractInputStreamProcess.getErrorStream()Returns the input stream connected to the error output of the process.abstractInputStreamProcess.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.staticInputStreamClassLoader.getSystemResourceAsStream(String name) Open for reading, a resource of the specified name from the search path used to load classes.Methods injava.lang with parameters of typeInputStreamModifier and TypeMethodDescriptionstatic voidSystem.setIn(InputStream in) Reassigns the "standard" input stream.Uses ofInputStream injava.lang.module
Methods injava.lang.module that return types with arguments of typeInputStreamModifier and TypeMethodDescriptiondefaultOptional<InputStream>Opens a resource, returning an input stream to read the resource in the module.Methods injava.lang.module with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticModuleDescriptorModuleDescriptor.read(InputStream in) Reads the binary form of a module declaration from an input stream as a module descriptor.staticModuleDescriptorModuleDescriptor.read(InputStream in,Supplier<Set<String>> packageFinder) Reads the binary form of a module declaration from an input stream as a module descriptor.Uses ofInputStream injava.net
Methods injava.net that returnInputStreamModifier and TypeMethodDescriptionabstractInputStreamCacheResponse.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 abstractInputStreamSocketImpl.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.finalInputStreamURL.openStream()Opens a connection to thisURLand returns anInputStreamfor reading from that connection.Methods injava.net with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticStringURLConnection.guessContentTypeFromStream(InputStream is) Tries to determine the type of an input stream based on the characters at the beginning of the input stream.Uses ofInputStream injava.net.http
Methods injava.net.http that return types with arguments of typeInputStreamModifier and TypeMethodDescriptionHttpResponse.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 injava.net.http with type arguments of typeInputStreamModifier and TypeMethodDescriptionHttpRequest.BodyPublishers.ofInputStream(Supplier<? extendsInputStream> streamSupplier) A request body publisher that reads its data from anInputStream.Uses ofInputStream injava.nio.channels
Methods injava.nio.channels that returnInputStreamModifier and TypeMethodDescriptionstaticInputStreamChannels.newInputStream(AsynchronousByteChannel ch) Constructs a stream that reads bytes from the given channel.staticInputStreamChannels.newInputStream(ReadableByteChannel ch) Constructs a stream that reads bytes from the given channel.Methods injava.nio.channels with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticReadableByteChannelChannels.newChannel(InputStream in) Constructs a channel that reads bytes from the given stream.Uses ofInputStream injava.nio.file
Methods injava.nio.file that returnInputStreamModifier and TypeMethodDescriptionstaticInputStreamFiles.newInputStream(Path path,OpenOption... options) Opens a file, returning an input stream to read from the file.Methods injava.nio.file with parameters of typeInputStreamModifier and TypeMethodDescriptionstatic longFiles.copy(InputStream in,Path target,CopyOption... options) Copies all bytes from an input stream to a file.Uses ofInputStream injava.nio.file.spi
Methods injava.nio.file.spi that returnInputStreamModifier and TypeMethodDescriptionFileSystemProvider.newInputStream(Path path,OpenOption... options) Opens a file, returning an input stream to read from the file.Uses ofInputStream injava.security
Subclasses ofInputStream injava.securityModifier and TypeClassDescriptionclassA transparent stream that updates the associated message digest using the bits going through the stream.Methods injava.security with parameters of typeInputStreamModifier 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 injava.security with parameters of typeInputStreamModifierConstructorDescriptionDigestInputStream(InputStream stream,MessageDigest digest) Creates a digest input stream, using the specified input stream and message digest.Uses ofInputStream injava.security.cert
Methods injava.security.cert with parameters of typeInputStreamModifier and TypeMethodDescriptionabstractCertificateCertificateFactorySpi.engineGenerateCertificate(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream.abstractCollection<? extendsCertificate>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.abstractCRLCertificateFactorySpi.engineGenerateCRL(InputStream inStream) Generates a certificate revocation list (CRL) object and initializes it with the data read from the input streaminStream.abstractCollection<? extendsCRL>CertificateFactorySpi.engineGenerateCRLs(InputStream inStream) Returns a (possibly empty) collection view of the CRLs read from the given input streaminStream.finalCertificateCertificateFactory.generateCertificate(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream.finalCollection<? extendsCertificate>CertificateFactory.generateCertificates(InputStream inStream) Returns a (possibly empty) collection view of the certificates read from the given input streaminStream.finalCertPathCertificateFactory.generateCertPath(InputStream inStream) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.finalCertPathCertificateFactory.generateCertPath(InputStream inStream,String encoding) Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.finalCRLCertificateFactory.generateCRL(InputStream inStream) Generates a certificate revocation list (CRL) object and initializes it with the data read from the input streaminStream.finalCollection<? extendsCRL>CertificateFactory.generateCRLs(InputStream inStream) Returns a (possibly empty) collection view of the CRLs read from the given input streaminStream.Uses ofInputStream injava.sql
Methods injava.sql that returnInputStreamModifier 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 injava.sql with parameters of typeInputStreamModifier 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 ofInputStream injava.util
Methods injava.util that returnInputStreamModifier and TypeMethodDescriptionBase64.Decoder.wrap(InputStream is) Returns an input stream for decodingBase64encoded byte stream.Methods injava.util with parameters of typeInputStreamModifier 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 injava.util with parameters of typeInputStreamModifierConstructorDescriptionPropertyResourceBundle(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 ofInputStream injava.util.jar
Subclasses ofInputStream injava.util.jarModifier and TypeClassDescriptionclassTheJarInputStreamclass is used to read the contents of a JAR file from any input stream.Methods injava.util.jar that returnInputStreamModifier and TypeMethodDescriptionJarFile.getInputStream(ZipEntry ze) Returns an input stream for reading the contents of the specified zip file entry.Methods injava.util.jar with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidManifest.read(InputStream is) Reads the Manifest from the specified InputStream.Constructors injava.util.jar with parameters of typeInputStreamModifierConstructorDescriptionCreates 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 ofInputStream injava.util.logging
Methods injava.util.logging with parameters of typeInputStreamModifier 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 ofInputStream injava.util.prefs
Methods injava.util.prefs with parameters of typeInputStreamModifier and TypeMethodDescriptionstatic voidPreferences.importPreferences(InputStream is) Imports all of the preferences represented by the XML document on the specified input stream.Uses ofInputStream injava.util.zip
Subclasses ofInputStream injava.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 injava.util.zip that returnInputStreamModifier and TypeMethodDescriptionZipFile.getInputStream(ZipEntry entry) Returns an input stream for reading the contents of the specified zip file entry.Constructors injava.util.zip with parameters of typeInputStreamModifierConstructorDescriptionCheckedInputStream(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 ofInputStream injavax.accessibility
Methods injavax.accessibility that returnInputStreamModifier and TypeMethodDescriptionAccessibleStreamable.getStream(DataFlavor flavor) Returns anInputStreamfor aDataFlavor.Uses ofInputStream injavax.crypto
Subclasses ofInputStream injavax.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 injavax.crypto with parameters of typeInputStreamModifierConstructorDescriptionprotectedConstructs a CipherInputStream from an InputStream without specifying a Cipher.Constructs a CipherInputStream from an InputStream and a Cipher.Uses ofInputStream injavax.imageio
Methods injavax.imageio with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticBufferedImageImageIO.read(InputStream input) Returns aBufferedImageas the result of decoding a suppliedInputStreamwith anImageReaderchosen automatically from among those currently registered.Uses ofInputStream injavax.imageio.stream
Constructors injavax.imageio.stream with parameters of typeInputStreamModifierConstructorDescriptionFileCacheImageInputStream(InputStream stream,File cacheDir) Constructs aFileCacheImageInputStreamthat will read from a givenInputStream.Constructs aMemoryCacheImageInputStreamthat will read from a givenInputStream.Uses ofInputStream injavax.management.loading
Methods injavax.management.loading that returnInputStreamModifier and TypeMethodDescriptionMLetMBean.getResourceAsStream(String name) Returns an input stream for reading the specified resource.Uses ofInputStream injavax.net.ssl
Methods injavax.net.ssl with parameters of typeInputStreamModifier 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 ofInputStream injavax.print
Methods injavax.print that returnInputStreamModifier 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 ofInputStream injavax.security.auth.x500
Constructors injavax.security.auth.x500 with parameters of typeInputStreamModifierConstructorDescriptionCreates anX500Principalfrom anInputStreamcontaining the distinguished name in ASN.1 DER encoded form.Uses ofInputStream injavax.security.cert
Methods injavax.security.cert with parameters of typeInputStreamModifier and TypeMethodDescriptionstatic finalX509CertificateX509Certificate.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 ofInputStream injavax.sound.midi
Methods injavax.sound.midi with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticMidiFileFormatMidiSystem.getMidiFileFormat(InputStream stream) Obtains the MIDI file format of the data in the specified input stream.staticSequenceMidiSystem.getSequence(InputStream stream) Obtains a MIDI sequence from the specified input stream.staticSoundbankMidiSystem.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 ofInputStream injavax.sound.midi.spi
Methods injavax.sound.midi.spi with parameters of typeInputStreamModifier and TypeMethodDescriptionabstractMidiFileFormatMidiFileReader.getMidiFileFormat(InputStream stream) Obtains the MIDI file format of the input stream provided.abstractSequenceMidiFileReader.getSequence(InputStream stream) Obtains a MIDI sequence from the input stream provided.abstractSoundbankSoundbankReader.getSoundbank(InputStream stream) Obtains a soundbank object from theInputStreamprovided.Uses ofInputStream injavax.sound.sampled
Subclasses ofInputStream injavax.sound.sampledModifier and TypeClassDescriptionclassAn audio input stream is an input stream with a specified audio format and length.Methods injavax.sound.sampled with parameters of typeInputStreamModifier and TypeMethodDescriptionstaticAudioFileFormatAudioSystem.getAudioFileFormat(InputStream stream) Obtains the audio file format of the provided input stream.staticAudioInputStreamAudioSystem.getAudioInputStream(InputStream stream) Obtains an audio input stream from the provided input stream.Constructors injavax.sound.sampled with parameters of typeInputStreamModifierConstructorDescriptionAudioInputStream(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 ofInputStream injavax.sound.sampled.spi
Methods injavax.sound.sampled.spi with parameters of typeInputStreamModifier and TypeMethodDescriptionabstractAudioFileFormatAudioFileReader.getAudioFileFormat(InputStream stream) Obtains the audio file format of the input stream provided.abstractAudioInputStreamAudioFileReader.getAudioInputStream(InputStream stream) Obtains an audio input stream from the input stream provided.Uses ofInputStream injavax.sql
Methods injavax.sql with parameters of typeInputStreamModifier 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 ofInputStream injavax.sql.rowset
Fields injavax.sql.rowset declared asInputStreamModifier and TypeFieldDescriptionprotectedInputStreamBaseRowSet.asciiStreamTheInputStreamobject that will be returned by the methodgetAsciiStream, which is specified in theResultSetinterface.protectedInputStreamBaseRowSet.binaryStreamTheInputStreamobject that will be returned by the methodgetBinaryStream, which is specified in theResultSetinterface.protectedInputStreamBaseRowSet.unicodeStreamTheInputStreamobject that will be returned by the methodgetUnicodeStream, which is specified in theResultSetinterface.Methods injavax.sql.rowset with parameters of typeInputStreamModifier 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 placeUses ofInputStream injavax.sql.rowset.serial
Methods injavax.sql.rowset.serial that returnInputStreamModifier 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 injavax.sql.rowset.serial with parameters of typeInputStreamModifier 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 ofInputStream injavax.swing
Subclasses ofInputStream injavax.swingModifier and TypeClassDescriptionclassMonitors the progress of reading from some InputStream.Methods injavax.swing that returnInputStreamModifier and TypeMethodDescriptionprotectedInputStreamFetches a stream for the given URL, which is about to be loaded by thesetPagemethod.Methods injavax.swing with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidJEditorPane.read(InputStream in,Object desc) This method initializes from a stream.Constructors injavax.swing with parameters of typeInputStreamModifierConstructorDescriptionProgressMonitorInputStream(Component parentComponent,Object message,InputStream in) Constructs an object to monitor the progress of an input stream.Uses ofInputStream injavax.swing.plaf.synth
Methods injavax.swing.plaf.synth with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidSynthLookAndFeel.load(InputStream input,Class<?> resourceBase) Loads the set ofSynthStyles that will be used by thisSynthLookAndFeel.Uses ofInputStream injavax.swing.text
Methods injavax.swing.text with parameters of typeInputStreamModifier 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 ofInputStream injavax.swing.text.rtf
Methods injavax.swing.text.rtf with parameters of typeInputStreamModifier 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 ofInputStream injavax.tools
Methods injavax.tools that returnInputStreamModifier and TypeMethodDescriptionFileObject.openInputStream()Returns an InputStream for this file object.ForwardingFileObject.openInputStream()SimpleJavaFileObject.openInputStream()This implementation always throwsUnsupportedOperationException.Methods injavax.tools with parameters of typeInputStreamModifier and TypeMethodDescriptionintTool.run(InputStream in,OutputStream out,OutputStream err,String... arguments) Run the tool with the given I/O channels and arguments.Uses ofInputStream injavax.xml.catalog
Methods injavax.xml.catalog that returnInputStreamModifier and TypeMethodDescriptionCatalogResolver.resolveEntity(String publicId,String systemId,String baseUri,String namespace) ImplementsXMLResolver.Uses ofInputStream injavax.xml.crypto
Methods injavax.xml.crypto that returnInputStreamModifier and TypeMethodDescriptionOctetStreamData.getOctetStream()Returns the input stream of thisOctetStreamData.Constructors injavax.xml.crypto with parameters of typeInputStreamModifierConstructorDescriptionOctetStreamData(InputStream octetStream) Creates a newOctetStreamData.OctetStreamData(InputStream octetStream,String uri,String mimeType) Creates a newOctetStreamData.Uses ofInputStream injavax.xml.crypto.dsig
Methods injavax.xml.crypto.dsig that returnInputStreamModifier and TypeMethodDescriptionSignedInfo.getCanonicalizedData()Returns the canonicalized signed info bytes after a signing or validation operation.Reference.getDigestInputStream()Returns the pre-digested input stream, ifreference caching is enabled.Uses ofInputStream injavax.xml.parsers
Methods injavax.xml.parsers with parameters of typeInputStreamModifier 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 ofInputStream injavax.xml.stream
Methods injavax.xml.stream with parameters of typeInputStreamModifier and TypeMethodDescriptionabstractXMLEventReaderXMLInputFactory.createXMLEventReader(InputStream stream) Create a new XMLEventReader from a java.io.InputStreamabstractXMLEventReaderXMLInputFactory.createXMLEventReader(InputStream stream,String encoding) Create a new XMLEventReader from a java.io.InputStreamabstractXMLEventReaderXMLInputFactory.createXMLEventReader(String systemId,InputStream stream) Create a new XMLEventReader from a java.io.InputStreamabstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(InputStream stream) Create a new XMLStreamReader from a java.io.InputStream.abstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(InputStream stream,String encoding) Create a new XMLStreamReader from a java.io.InputStream.abstractXMLStreamReaderXMLInputFactory.createXMLStreamReader(String systemId,InputStream stream) Create a new XMLStreamReader from a java.io.InputStream.Uses ofInputStream injavax.xml.transform.stream
Methods injavax.xml.transform.stream that returnInputStreamModifier and TypeMethodDescriptionStreamSource.getInputStream()Get the byte stream that was set with setByteStream.Methods injavax.xml.transform.stream with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidStreamSource.setInputStream(InputStream inputStream) Set the byte stream to be used as input.Constructors injavax.xml.transform.stream with parameters of typeInputStreamModifierConstructorDescriptionStreamSource(InputStream inputStream) Construct a StreamSource from a byte stream.StreamSource(InputStream inputStream,String systemId) Construct a StreamSource from a byte stream.Uses ofInputStream injdk.jfr
Methods injdk.jfr that returnInputStreamModifier and TypeMethodDescriptionCreates a data stream for a specified interval.Uses ofInputStream injdk.jshell
Methods injdk.jshell with parameters of typeInputStreamModifier and TypeMethodDescriptionJShell.Builder.in(InputStream in) Sets the input for the running evaluation (it'sSystem.in).Uses ofInputStream injdk.jshell.execution
Methods injdk.jshell.execution with parameters of typeInputStreamModifier 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.staticExecutionControlUtil.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 ofInputStream injdk.jshell.spi
Methods injdk.jshell.spi that returnInputStreamUses ofInputStream injdk.jshell.tool
Methods injdk.jshell.tool with parameters of typeInputStreamModifier and TypeMethodDescriptionJavaShellToolBuilder.in(InputStream cmdIn,InputStream userIn) Set the input channels.Uses ofInputStream inorg.ietf.jgss
Methods inorg.ietf.jgss with parameters of typeInputStreamModifier 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 inorg.ietf.jgss with parameters of typeInputStreamModifierConstructorDescriptionOid(InputStream derOid) Creates an Oid object from its ASN.1 DER encoding.Uses ofInputStream inorg.w3c.dom.ls
Methods inorg.w3c.dom.ls that returnInputStreamModifier and TypeMethodDescriptionLSInput.getByteStream()An attribute of a language and binding dependent type that represents a stream of bytes.Methods inorg.w3c.dom.ls with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidLSInput.setByteStream(InputStream byteStream) An attribute of a language and binding dependent type that represents a stream of bytes.Uses ofInputStream inorg.xml.sax
Methods inorg.xml.sax that returnInputStreamModifier and TypeMethodDescriptionInputSource.getByteStream()Get the byte stream for this input source.Methods inorg.xml.sax with parameters of typeInputStreamModifier and TypeMethodDescriptionvoidInputSource.setByteStream(InputStream byteStream) Set the byte stream for this input source.Constructors inorg.xml.sax with parameters of typeInputStreamModifierConstructorDescriptionInputSource(InputStream byteStream) Create a new input source with a byte stream.