Uses of Class
java.io.InputStream
Packages that useInputStream Package Description com.sun.net.httpserver Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.color Provides classes for color spaces.java.beans Contains classes related to developingbeans -- components based on the JavaBeans™ architecture.java.beans.beancontext Provides classes and interfaces relating to bean context.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.module Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.java.net Provides the classes for implementing networking applications.java.net.http HTTP Client and WebSocket APIsjava.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.spi Service-provider classes for thejava.nio.filepackage.java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.java.sql Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava™ programming language.java.util 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.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.prefs This package allows applications to store and retrieve user and systempreference and configuration data.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.crypto Provides the classes and interfaces for cryptographic operations.javax.imageio The main package of the Java Image I/O API.javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.net.ssl Provides classes for the secure socket package.javax.print Provides the principal classes and interfaces for the Java™ Print Service API.javax.security.auth.x500 This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in aSubject.javax.security.cert Provides classes for public key certificates.javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.javax.sound.midi.spi Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sound.sampled.spi Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.javax.sql Provides the API for server side data source access and processing fromthe Java™ programming language.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL typesand data types in the Java programming language.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.javax.xml.catalog Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005.javax.xml.crypto Common classes for XML cryptography.javax.xml.crypto.dsig Classes for generating and validating XML digitalsignatures.javax.xml.parsers Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).javax.xml.transform.stream Provides stream and URI specific transformation classes.jdk.jfr This package provides classes to create events and control Flight Recorder.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.jdk.jshell.execution Provides implementation support for building JShell execution engines.jdk.jshell.spi Defines the Service Provider Interface for pluggable JShell execution engines.jdk.jshell.tool Provides a mechanism to launch an instance of a Java™ shell tool.org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.org.w3c.dom.ls Provides interfaces for DOM Level 3 Load and Save.org.xml.sax Provides the core SAX APIs.Uses ofInputStream incom.sun.net.httpserver
Methods incom.sun.net.httpserver that returnInputStream Modifier and Type Method Description abstractInputStreamHttpExchange. getRequestBody()returns a stream from which the request body can be read.Methods incom.sun.net.httpserver with parameters of typeInputStream Modifier and Type Method Description abstract voidHttpExchange. setStreams(InputStream i,OutputStream o)Used by Filters to wrap either (or both) of this exchange's InputStream and OutputStream, 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 returnInputStream Modifier and Type Method Description InputStreamAppletContext. getStream(String key)Deprecated.Returns the stream to which specified key is associated within this applet context.Methods injava.applet with parameters of typeInputStream Modifier and Type Method Description voidAppletContext. setStream(String key,InputStream stream)Deprecated.Associates the specified stream with the specified key in this applet context.Uses ofInputStream injava.awt
Methods injava.awt with parameters of typeInputStream Modifier and Type Method Description staticFontFont. 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 typeInputStream Modifier and Type Method Description staticICC_ProfileICC_Profile. getInstance(InputStream s)Constructs an ICC_Profile corresponding to the data in an InputStream.Uses ofInputStream injava.beans
Constructors injava.beans with parameters of typeInputStream Constructor Description XMLDecoder(InputStream in)Creates 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 returnInputStream Modifier and Type Method Description InputStreamBeanContext. getResourceAsStream(String name,BeanContextChild bcc)Analagous tojava.lang.ClassLoader.getResourceAsStream(), this method allows aBeanContextimplementation to interpose behavior between the childComponentand underlyingClassLoader.InputStreamBeanContextSupport. getResourceAsStream(String name,BeanContextChild bcc)Uses ofInputStream injava.io
Subclasses ofInputStream injava.io Modifier and Type Class Description classBufferedInputStreamABufferedInputStreamadds functionality to another input stream-namely, the ability to buffer the input and to support themarkandresetmethods.classByteArrayInputStreamAByteArrayInputStreamcontains an internal buffer that contains bytes that may be read from the stream.classDataInputStreamA data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.classFileInputStreamAFileInputStreamobtains input bytes from a file in a file system.classFilterInputStreamAFilterInputStreamcontains some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.classLineNumberInputStreamDeprecated.This class incorrectly assumes that bytes adequately represent characters.classObjectInputStreamAn ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.classPipedInputStreamA 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.classPushbackInputStreamAPushbackInputStreamadds functionality to another input stream, namely the ability to "push back" or "unread" bytes, by storing pushed-back bytes in an internal buffer.classSequenceInputStreamASequenceInputStreamrepresents the logical concatenation of other input streams.classStringBufferInputStreamDeprecated.This class does not properly convert characters into bytes.Fields injava.io declared asInputStream Modifier and Type Field Description protectedInputStreamFilterInputStream. inThe input stream to be filtered.Methods injava.io that returnInputStream Modifier and Type Method Description staticInputStreamInputStream. nullInputStream()Returns a newInputStreamthat reads no bytes.Constructors injava.io with parameters of typeInputStream Constructor Description BufferedInputStream(InputStream in)Creates 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.DataInputStream(InputStream in)Creates a DataInputStream that uses the specified underlying InputStream.FilterInputStream(InputStream in)Creates aFilterInputStreamby assigning the argumentinto the fieldthis.inso as to remember it for later use.InputStreamReader(InputStream in)Creates an InputStreamReader that uses the default 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.LineNumberInputStream(InputStream in)Deprecated.Constructs a newline number input stream that reads its input from the specified input stream.ObjectInputStream(InputStream in)Creates an ObjectInputStream that reads from the specified InputStream.PushbackInputStream(InputStream in)Creates 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.SequenceInputStream(InputStream s1,InputStream s2)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.StreamTokenizer(InputStream is)Deprecated.As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:Constructor parameters injava.io with type arguments of typeInputStream Constructor Description SequenceInputStream(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 asInputStream Modifier and Type Field Description staticInputStreamSystem. inThe "standard" input stream.Methods injava.lang that returnInputStream Modifier and Type Method Description abstractInputStreamProcess. 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.InputStreamClass. getResourceAsStream(String name)Finds a resource with a given name.InputStreamClassLoader. getResourceAsStream(String name)Returns an input stream for reading the specified resource.InputStreamModule. 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 typeInputStream Modifier and Type Method Description static voidSystem. setIn(InputStream in)Reassigns the "standard" input stream.Uses ofInputStream injava.lang.module
Methods injava.lang.module that return types with arguments of typeInputStream Modifier and Type Method Description defaultOptional<InputStream>ModuleReader. open(String name)Opens a resource, returning an input stream to read the resource in the module.Methods injava.lang.module with parameters of typeInputStream Modifier and Type Method Description staticModuleDescriptorModuleDescriptor. 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 returnInputStream Modifier and Type Method Description abstractInputStreamCacheResponse. getBody()Returns the response body as an InputStream.InputStreamHttpURLConnection. getErrorStream()Returns the error stream if the connection failed but the server sent useful data nonetheless.InputStreamSocket. getInputStream()Returns an input stream for this socket.protected abstractInputStreamSocketImpl. getInputStream()Returns an input stream for this socket.InputStreamURLConnection. getInputStream()Returns an input stream that reads from this open connection.InputStreamURLClassLoader. getResourceAsStream(String name)Returns an input stream for reading the specified resource.InputStreamURL. openStream()Opens a connection to thisURLand returns anInputStreamfor reading from that connection.Methods injava.net with parameters of typeInputStream Modifier and Type Method Description staticStringURLConnection. 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 typeInputStream Modifier and Type Method Description staticHttpResponse.BodyHandler<InputStream>HttpResponse.BodyHandlers. ofInputStream()Returns aBodyHandler<InputStream>that returns aBodySubscriber<InputStream>obtained fromBodySubscribers.ofInputStream.staticHttpResponse.BodySubscriber<InputStream>HttpResponse.BodySubscribers. ofInputStream()Returns aBodySubscriberwhich streams the response body as anInputStream.Method parameters injava.net.http with type arguments of typeInputStream Modifier and Type Method Description staticHttpRequest.BodyPublisherHttpRequest.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 returnInputStream Modifier and Type Method Description staticInputStreamChannels. 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 typeInputStream Modifier and Type Method Description staticReadableByteChannelChannels. newChannel(InputStream in)Constructs a channel that reads bytes from the given stream.Uses ofInputStream injava.nio.file
Methods injava.nio.file that returnInputStream Modifier and Type Method Description staticInputStreamFiles. newInputStream(Path path,OpenOption... options)Opens a file, returning an input stream to read from the file.Methods injava.nio.file with parameters of typeInputStream Modifier and Type Method Description static 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 returnInputStream Modifier and Type Method Description InputStreamFileSystemProvider. newInputStream(Path path,OpenOption... options)Opens a file, returning an input stream to read from the file.Uses ofInputStream injava.security
Subclasses ofInputStream injava.security Modifier and Type Class Description classDigestInputStreamA transparent stream that updates the associated message digest using the bits going through the stream.Methods injava.security with parameters of typeInputStream Modifier and Type Method Description voidCertificate. 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.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 typeInputStream Constructor Description DigestInputStream(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 typeInputStream Modifier and Type Method Description abstractCertificateCertificateFactorySpi. 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.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactorySpi. 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.CertificateCertificateFactory. generateCertificate(InputStream inStream)Generates a certificate object and initializes it with the data read from the input streaminStream.Collection<? extendsCertificate>CertificateFactory. generateCertificates(InputStream inStream)Returns a (possibly empty) collection view of the certificates read from the given input streaminStream.CertPathCertificateFactory. generateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactory. generateCertPath(InputStream inStream,String encoding)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CRLCertificateFactory. generateCRL(InputStream inStream)Generates a certificate revocation list (CRL) object and initializes it with the data read from the input streaminStream.Collection<? 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 returnInputStream Modifier and Type Method Description InputStreamClob. getAsciiStream()Retrieves theCLOBvalue designated by thisClobobject as an ascii stream.InputStreamResultSet. getAsciiStream(int columnIndex)Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of ASCII characters.InputStreamResultSet. getAsciiStream(String columnLabel)Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of ASCII characters.InputStreamBlob. getBinaryStream()Retrieves theBLOBvalue designated by thisBlobinstance as a stream.InputStreamBlob. getBinaryStream(long pos, long length)Returns anInputStreamobject that contains a partialBlobvalue, starting with the byte specified by pos, which is length bytes in length.InputStreamResultSet. getBinaryStream(int columnIndex)Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of uninterpreted bytes.InputStreamResultSet. getBinaryStream(String columnLabel)Retrieves the value of the designated column in the current row of thisResultSetobject as a stream of uninterpretedbytes.InputStreamSQLXML. getBinaryStream()Retrieves the XML value designated by this SQLXML instance as a stream.InputStreamResultSet. getUnicodeStream(int columnIndex)Deprecated.usegetCharacterStreamin place ofgetUnicodeStreamInputStreamResultSet. getUnicodeStream(String columnLabel)Deprecated.usegetCharacterStreaminsteadInputStreamSQLInput. readAsciiStream()Reads the next attribute in the stream and returns it as a stream of ASCII characters.InputStreamSQLInput. readBinaryStream()Reads the next attribute in the stream and returns it as a stream of uninterpreted bytes.Methods injava.sql with parameters of typeInputStream Modifier and Type Method Description voidCallableStatement. 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 returnInputStream Modifier and Type Method Description InputStreamBase64.Decoder. wrap(InputStream is)Returns an input stream for decodingBase64encoded byte stream.Methods injava.util with parameters of typeInputStream Modifier and Type Method Description voidProperties. 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.InputStreamBase64.Decoder. wrap(InputStream is)Returns an input stream for decodingBase64encoded byte stream.Constructors injava.util with parameters of typeInputStream Constructor Description PropertyResourceBundle(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.jar Modifier and Type Class Description classJarInputStreamTheJarInputStreamclass is used to read the contents of a JAR file from any input stream.Methods injava.util.jar that returnInputStream Modifier and Type Method Description InputStreamJarFile. getInputStream(ZipEntry ze)Returns an input stream for reading the contents of the specified zip file entry.Methods injava.util.jar with parameters of typeInputStream Modifier and Type Method Description voidManifest. read(InputStream is)Reads the Manifest from the specified InputStream.voidPack200.Unpacker. unpack(InputStream in,JarOutputStream out)Deprecated, for removal: This API element is subject to removal in a future version.Read a Pack200 archive, and write the encoded JAR to a JarOutputStream.Constructors injava.util.jar with parameters of typeInputStream Constructor Description JarInputStream(InputStream in)Creates 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 typeInputStream Modifier and Type Method Description voidLogManager. 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 typeInputStream Modifier and Type Method Description static 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.zip Modifier and Type Class Description classCheckedInputStreamAn input stream that also maintains a checksum of the data being read.classDeflaterInputStreamImplements an input stream filter for compressing data in the "deflate" compression format.classGZIPInputStreamThis class implements a stream filter for reading compressed data in the GZIP file format.classInflaterInputStreamThis class implements a stream filter for uncompressing data in the "deflate" compression format.classZipInputStreamThis class implements an input stream filter for reading files in the ZIP file format.Methods injava.util.zip that returnInputStream Modifier and Type Method Description InputStreamZipFile. getInputStream(ZipEntry entry)Returns an input stream for reading the contents of the specified zip file entry.Constructors injava.util.zip with parameters of typeInputStream Constructor Description CheckedInputStream(InputStream in,Checksum cksum)Creates an input stream using the specified Checksum.DeflaterInputStream(InputStream in)Creates a new input stream with a default compressor and buffer size.DeflaterInputStream(InputStream in,Deflater defl)Creates a new input stream with the specified compressor and a default buffer size.DeflaterInputStream(InputStream in,Deflater defl, int bufLen)Creates a new input stream with the specified compressor and buffer size.GZIPInputStream(InputStream in)Creates a new input stream with a default buffer size.GZIPInputStream(InputStream in, int size)Creates a new input stream with the specified buffer size.InflaterInputStream(InputStream in)Creates a new input stream with a default decompressor and buffer size.InflaterInputStream(InputStream in,Inflater inf)Creates a new input stream with the specified decompressor and a default buffer size.InflaterInputStream(InputStream in,Inflater inf, int size)Creates a new input stream with the specified decompressor and buffer size.ZipInputStream(InputStream in)Creates a new ZIP input stream.ZipInputStream(InputStream in,Charset charset)Creates a new ZIP input stream.Uses ofInputStream injavax.accessibility
Methods injavax.accessibility that returnInputStream Modifier and Type Method Description InputStreamAccessibleStreamable. getStream(DataFlavor flavor)Returns anInputStreamfor aDataFlavor.Uses ofInputStream injavax.crypto
Subclasses ofInputStream injavax.crypto Modifier and Type Class Description classCipherInputStreamA 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 typeInputStream Constructor Description CipherInputStream(InputStream is)Constructs a CipherInputStream from an InputStream without specifying a Cipher.CipherInputStream(InputStream is,Cipher c)Constructs a CipherInputStream from an InputStream and a Cipher.Uses ofInputStream injavax.imageio
Methods injavax.imageio with parameters of typeInputStream Modifier and Type Method Description staticBufferedImageImageIO. 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 typeInputStream Constructor Description FileCacheImageInputStream(InputStream stream,File cacheDir)Constructs aFileCacheImageInputStreamthat will read from a givenInputStream.MemoryCacheImageInputStream(InputStream stream)Constructs aMemoryCacheImageInputStreamthat will read from a givenInputStream.Uses ofInputStream injavax.management.loading
Methods injavax.management.loading that returnInputStream Modifier and Type Method Description InputStreamMLetMBean. getResourceAsStream(String name)Returns an input stream for reading the specified resource.Uses ofInputStream injavax.net.ssl
Methods injavax.net.ssl with parameters of typeInputStream Modifier and Type Method Description SocketSSLSocketFactory. 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 returnInputStream Modifier and Type Method Description InputStreamDoc. getStreamForBytes()Obtains an input stream for extracting byte print data from this doc.InputStreamSimpleDoc. 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 typeInputStream Constructor Description X500Principal(InputStream is)Creates anX500Principalfrom anInputStreamcontaining the distinguished name in ASN.1 DER encoded form.Uses ofInputStream injavax.security.cert
Methods injavax.security.cert with parameters of typeInputStream Modifier and Type Method Description staticX509CertificateX509Certificate. getInstance(InputStream inStream)Deprecated.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 typeInputStream Modifier and Type Method Description staticMidiFileFormatMidiSystem. 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 typeInputStream Modifier and Type Method Description abstractMidiFileFormatMidiFileReader. 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.sampled Modifier and Type Class Description classAudioInputStreamAn audio input stream is an input stream with a specified audio format and length.Methods injavax.sound.sampled with parameters of typeInputStream Modifier and Type Method Description staticAudioFileFormatAudioSystem. 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 typeInputStream Constructor Description AudioInputStream(InputStream stream,AudioFormat format, long length)Constructs an audio input stream that has the requested format and length in sample frames, using audio data from the specified input stream.Uses ofInputStream injavax.sound.sampled.spi
Methods injavax.sound.sampled.spi with parameters of typeInputStream Modifier and Type Method Description abstractAudioFileFormatAudioFileReader. 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 typeInputStream Modifier and Type Method Description voidRowSet. 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 asInputStream Modifier and Type Field Description protectedInputStreamBaseRowSet. 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 typeInputStream Modifier and Type Method Description voidWebRowSet. 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 returnInputStream Modifier and Type Method Description InputStreamSerialClob. getAsciiStream()Retrieves theCLOBvalue designated by thisSerialClobobject as an ascii stream.InputStreamSerialBlob. getBinaryStream()Returns thisSerialBlobobject as an input stream.InputStreamSerialBlob. getBinaryStream(long pos, long length)Returns anInputStreamobject that contains a partialBlobvalue, starting with the byte specified by pos, which is length bytes in length.InputStreamSQLInputImpl. readAsciiStream()Returns the next attribute in thisSQLInputImplobject as a stream of ASCII characters.InputStreamSQLInputImpl. readBinaryStream()Returns the next attribute in thisSQLInputImplobject as a stream of uninterpreted bytes.Methods injavax.sql.rowset.serial with parameters of typeInputStream Modifier and Type Method Description voidSQLOutputImpl. 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.swing Modifier and Type Class Description classProgressMonitorInputStreamMonitors the progress of reading from some InputStream.Methods injavax.swing that returnInputStream Modifier and Type Method Description protectedInputStreamJEditorPane. getStream(URL page)Fetches a stream for the given URL, which is about to be loaded by thesetPagemethod.Methods injavax.swing with parameters of typeInputStream Modifier and Type Method Description voidJEditorPane. read(InputStream in,Object desc)This method initializes from a stream.Constructors injavax.swing with parameters of typeInputStream Constructor Description ProgressMonitorInputStream(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 typeInputStream Modifier and Type Method Description voidSynthLookAndFeel. 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 typeInputStream Modifier and Type Method Description voidDefaultEditorKit. 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 typeInputStream Modifier and Type Method Description voidRTFEditorKit. 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 returnInputStream Modifier and Type Method Description InputStreamFileObject. openInputStream()Returns an InputStream for this file object.InputStreamForwardingFileObject. openInputStream()InputStreamSimpleJavaFileObject. openInputStream()This implementation always throwsUnsupportedOperationException.Methods injavax.tools with parameters of typeInputStream Modifier and Type Method Description intTool. 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 returnInputStream Modifier and Type Method Description InputStreamCatalogResolver. resolveEntity(String publicId,String systemId,String baseUri,String namespace)ImplementsXMLResolver.Uses ofInputStream injavax.xml.crypto
Methods injavax.xml.crypto that returnInputStream Modifier and Type Method Description InputStreamOctetStreamData. getOctetStream()Returns the input stream of thisOctetStreamData.Constructors injavax.xml.crypto with parameters of typeInputStream Constructor Description OctetStreamData(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 returnInputStream Modifier and Type Method Description InputStreamSignedInfo. getCanonicalizedData()Returns the canonicalized signed info bytes after a signing or validation operation.InputStreamReference. getDigestInputStream()Returns the pre-digested input stream, ifreference caching is enabled.Uses ofInputStream injavax.xml.parsers
Methods injavax.xml.parsers with parameters of typeInputStream Modifier and Type Method Description DocumentDocumentBuilder. parse(InputStream is)Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.DocumentDocumentBuilder. 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 typeInputStream Modifier and Type Method Description abstractXMLEventReaderXMLInputFactory. 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.InputStreamabstractXMLStreamReaderXMLInputFactory. createXMLStreamReader(InputStream stream,String encoding)Create a new XMLStreamReader from a java.io.InputStreamabstractXMLStreamReaderXMLInputFactory. createXMLStreamReader(String systemId,InputStream stream)Create a new XMLStreamReader from a java.io.InputStreamUses ofInputStream injavax.xml.transform.stream
Methods injavax.xml.transform.stream that returnInputStream Modifier and Type Method Description InputStreamStreamSource. getInputStream()Get the byte stream that was set with setByteStream.Methods injavax.xml.transform.stream with parameters of typeInputStream Modifier and Type Method Description voidStreamSource. setInputStream(InputStream inputStream)Set the byte stream to be used as input.Constructors injavax.xml.transform.stream with parameters of typeInputStream Constructor Description StreamSource(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 returnInputStream Modifier and Type Method Description InputStreamRecording. getStream(Instant start,Instant end)Creates a data stream for a specified interval.Uses ofInputStream injdk.jshell
Methods injdk.jshell with parameters of typeInputStream Modifier and Type Method Description JShell.BuilderJShell.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 typeInputStream Modifier and Type Method Description static 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 returnInputStream Modifier and Type Method Description InputStreamExecutionEnv. userIn()Returns the user's input stream.Uses ofInputStream injdk.jshell.tool
Methods injdk.jshell.tool with parameters of typeInputStream Modifier and Type Method Description JavaShellToolBuilderJavaShellToolBuilder. in(InputStream cmdIn,InputStream userIn)Set the input channels.Uses ofInputStream inorg.ietf.jgss
Methods inorg.ietf.jgss with parameters of typeInputStream Modifier and Type Method Description voidGSSContext. 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 typeInputStream Constructor Description Oid(InputStream derOid)Creates an Oid object from its ASN.1 DER encoding.Uses ofInputStream inorg.w3c.dom.ls
Methods inorg.w3c.dom.ls that returnInputStream Modifier and Type Method Description InputStreamLSInput. getByteStream()An attribute of a language and binding dependent type that represents a stream of bytes.Methods inorg.w3c.dom.ls with parameters of typeInputStream Modifier and Type Method Description voidLSInput. 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 returnInputStream Modifier and Type Method Description InputStreamInputSource. getByteStream()Get the byte stream for this input source.Methods inorg.xml.sax with parameters of typeInputStream Modifier and Type Method Description voidInputSource. setByteStream(InputStream byteStream)Set the byte stream for this input source.Constructors inorg.xml.sax with parameters of typeInputStream Constructor Description InputSource(InputStream byteStream)Create a new input source with a byte stream.