Uses of Interface
java.io.Closeable
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal | |
| com.squareup.okhttp.internal.spdy | |
| java.io | |
| java.net | |
| java.nio.channels | |
| java.nio.channels.spi | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.util | |
| java.util.jar | |
| java.util.zip | |
| javax.crypto |
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| libcore.io | |
| libcore.net | |
| org.apache.http.conn |
The client-side connection management and handling API
at the heart of what is referred to as HttpConn.
|
| org.apache.http.impl.io |
Default implementations for interfaces in
org.apache.http.io. |
| org.bouncycastle.asn1 | |
| org.bouncycastle.crypto.io | |
| org.bouncycastle.jcajce.io | |
| org.bouncycastle.util.io | |
| org.bouncycastle.util.io.pem | |
| org.conscrypt | |
| org.kxml2.io |
-
Uses of Closeable in com.squareup.okhttp
Classes in com.squareup.okhttp that implement Closeable Modifier and Type Class Description classConnectionHolds the sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection, which may be used for multiple HTTP request/response exchanges. -
Uses of Closeable in com.squareup.okhttp.internal
Classes in com.squareup.okhttp.internal that implement Closeable Modifier and Type Class Description classAbstractOutputStreamAn output stream for an HTTP request body.classDiskLruCacheA cache that uses a bounded amount of space on a filesystem.classDiskLruCache.SnapshotA snapshot of the values for an entry.classFaultRecoveringOutputStreamAn output stream wrapper that recovers from failures in the underlying stream by replacing it with another stream.classStrictLineReaderBuffers input from anInputStreamfor reading lines.Methods in com.squareup.okhttp.internal with parameters of type Closeable Modifier and Type Method Description static voidUtil. closeAll(Closeable a, Closeable b)Closesaandb.static voidUtil. closeQuietly(Closeable closeable)Closescloseable, ignoring any checked exceptions. -
Uses of Closeable in com.squareup.okhttp.internal.spdy
Classes in com.squareup.okhttp.internal.spdy that implement Closeable Modifier and Type Class Description classSpdyConnectionA socket connection to a remote peer. -
Uses of Closeable in java.io
Classes in java.io that implement Closeable Modifier and Type Class Description classBufferedInputStreamWraps an existingInputStreamand buffers the input.classBufferedOutputStreamWraps an existingOutputStreamand buffers the output.classBufferedReaderWraps an existingReaderand buffers the input.classBufferedWriterWraps an existingWriterand buffers the output.classByteArrayInputStreamA specializedInputStreamfor reading the contents of a byte array.classByteArrayOutputStreamA specializedOutputStreamfor class for writing content to an (internal) byte array.classCharArrayReaderA specializedReaderfor reading the contents of a char array.classCharArrayWriterA specializedWriterfor class for writing content to an (internal) char array.classDataInputStreamWraps an existingInputStreamand reads big-endian typed data from it.classDataOutputStreamWraps an existingOutputStreamand writes big-endian typed data to it.classFileInputStreamAn input stream that reads bytes from a file.classFileOutputStreamAn output stream that writes bytes to a file.classFileReaderA specializedReaderthat reads from a file in the file system.classFileWriterA specializedWriterthat writes to a file in the file system.classFilterInputStreamWraps an existingInputStreamand performs some transformation on the input data while it is being read.classFilterOutputStreamWraps an existingOutputStreamand performs some transformation on the output data while it is being written.classFilterReaderWraps an existingReaderand performs some transformation on the input data while it is being read.classFilterWriterWraps an existingWriterand performs some transformation on the output data while it is being written.classInputStreamA readable source of bytes.classInputStreamReaderA class for turning a byte stream into a character stream.classLineNumberInputStreamDeprecated.classLineNumberReaderWraps an existingReaderand counts the line terminators encountered while reading the data.classObjectInputStreamA specializedInputStreamthat is able to read (deserialize) Java objects as well as primitive data types (int, byte, char etc.).classObjectOutputStreamA specializedOutputStreamthat is able to write (serialize) Java objects as well as primitive data types (int, byte, char etc.).classOutputStreamA writable sink for bytes.classOutputStreamWriterA class for turning a character stream into a byte stream.classPipedInputStreamReceives information from a communications pipe.classPipedOutputStreamPlaces information on a communications pipe.classPipedReaderReceives information on a communications pipe.classPipedWriterPlaces information on a communications pipe.classPrintStreamWraps an existingOutputStreamand provides convenience methods for writing common data types in a human readable format.classPrintWriterWraps either an existingOutputStreamor an existingWriterand provides convenience methods for printing common data types in a human readable format.classPushbackInputStreamWraps an existingInputStreamand adds functionality to "push back" bytes that have been read, so that they can be read again.classPushbackReaderWraps an existingReaderand adds functionality to "push back" characters that have been read, so that they can be read again.classRandomAccessFileAllows reading from and writing to a file in a random-access manner.classReaderThe base class for all readers.classSequenceInputStreamConcatenates two or more existingInputStreams.classStringBufferInputStreamDeprecated.UseStringReaderinstead.classStringReaderA specializedReaderthat reads characters from aStringin a sequential manner.classStringWriterA specializedWriterthat writes characters to aStringBufferin a sequential manner, appending them in the process.classWriterThe base class for all writers. -
Uses of Closeable in java.net
Classes in java.net that implement Closeable Modifier and Type Class Description classDatagramSocketThis class implements a UDP socket for sending and receivingDatagramPacket.classMulticastSocketThis class implements a multicast socket for sending and receiving IP multicast datagram packets.classServerSocketThis class represents a server-side socket that waits for incoming client connections.classSocketProvides a client-side TCP socket. -
Uses of Closeable in java.nio.channels
Subinterfaces of Closeable in java.nio.channels Modifier and Type Interface Description interfaceByteChannelA ByteChannel is both readable and writable.interfaceChannelA channel is a conduit to I/O services covering such items as files, sockets, hardware devices, I/O ports or some software component.interfaceGatheringByteChannelThe interface for channels that can write a set of buffers in a single operation.interfaceInterruptibleChannelChannels that implement this interface can be asynchronously closed and interrupted.interfaceReadableByteChannelAReadableByteChannelis a type ofChannelthat can read bytes.interfaceScatteringByteChannelThe interface for channels that can read data into a set of buffers in a single operation.interfaceWritableByteChannelAWritableByteChannelis a type ofChannelthat can write bytes.Classes in java.nio.channels that implement Closeable Modifier and Type Class Description classDatagramChannelADatagramChannelis a selectable channel that represents a partial abstraction of a datagram socket.classFileChannelAn abstract channel type for interaction with a platform file.static classPipe.SinkChannelWritable sink channel used to write to a pipe.static classPipe.SourceChannelReadable source channel used to read from a pipe.classSelectableChannelA channel that can be used with aSelector.classSelectorA controller for the selection ofSelectableChannelobjects.classServerSocketChannelAServerSocketChannelis a partial abstraction of a selectable, stream-oriented listening socket.classSocketChannelASocketChannelis a selectable channel that provides a partial abstraction of stream connecting socket. -
Uses of Closeable in java.nio.channels.spi
Classes in java.nio.channels.spi that implement Closeable Modifier and Type Class Description classAbstractInterruptibleChannelAbstractInterruptibleChannelis the root class for interruptible channels.classAbstractSelectableChannelAbstractSelectableChannelis the base implementation class for selectable channels.classAbstractSelectorAbstractSelectoris the base implementation class for selectors. -
Uses of Closeable in java.security
Classes in java.security that implement Closeable Modifier and Type Class Description classDigestInputStreamDigestInputStreamis aFilterInputStreamwhich maintains an associated message digest.classDigestOutputStreamDigestOutputStreamis aFilterOutputStreamwhich maintains an associated message digest. -
Uses of Closeable in java.util
-
Uses of Closeable in java.util.jar
Classes in java.util.jar that implement Closeable Modifier and Type Class Description classJarFileJarFileis used to read jar entries and their associated data from jar files.classJarInputStreamThe input stream from which the JAR file to be read may be fetched.classJarOutputStreamTheJarOutputStreamis used to write data in theJarFileformat to an arbitrary output stream -
Uses of Closeable in java.util.zip
Classes in java.util.zip that implement Closeable Modifier and Type Class Description classCheckedInputStreamTheCheckedInputStreamclass is used to maintain a checksum at the same time as the data, on which the checksum is computed, is read from a stream.classCheckedOutputStreamTheCheckedOutputStreamclass is used to maintain a running checksum of all data written to a stream.classDeflaterInputStreamAnInputStreamfilter to compress data.classDeflaterOutputStreamThis class provides an implementation ofFilterOutputStreamthat compresses data using the DEFLATE algorithm.classGZIPInputStreamTheGZIPInputStreamclass is used to read data stored in the GZIP format, reading and decompressing GZIP data from the underlying stream into its buffer.classGZIPOutputStreamTheGZIPOutputStreamclass is used to write data to a stream in the GZIP storage format.classInflaterInputStreamThis class provides an implementation ofFilterInputStreamthat decompresses data that was compressed using the DEFLATE algorithm (see specification).classInflaterOutputStreamAnOutputStreamfilter to decompress data.classZipFileThis class provides random read access to a zip file.classZipInputStreamUsed to read (decompress) the data from zip files.classZipOutputStreamUsed to write (compress) data into zip files. -
Uses of Closeable in javax.crypto
Classes in javax.crypto that implement Closeable Modifier and Type Class Description classCipherInputStreamThis class wraps anInputStreamand a cipher so thatread()methods return data that are read from the underlyingInputStreamand processed by the cipher.classCipherOutputStreamThis class wraps an output stream and a cipher so thatwritemethods send the data through the cipher before writing them to the underlying output stream. -
Uses of Closeable in javax.net.ssl
Classes in javax.net.ssl that implement Closeable Modifier and Type Class Description classSSLServerSocketThe extension ofServerSocketwhich provides secure server sockets based on protocols like SSL, TLS, or others.classSSLSocketThe extension ofSocketproviding secure protocols like SSL (Secure Sockets Layer) or TLS (Transport Layer Security). -
Uses of Closeable in libcore.io
Classes in libcore.io that implement Closeable Modifier and Type Class Description classStrictLineReaderBuffers input from anInputStreamfor reading lines. -
Uses of Closeable in libcore.net
Classes in libcore.net that implement Closeable Modifier and Type Class Description classRawSocketThis class allows raw L2 packets to be sent and received via the specified network interface. -
Uses of Closeable in org.apache.http.conn
Classes in org.apache.http.conn that implement Closeable Modifier and Type Class Description classEofSensorInputStreamA stream wrapper that triggers actions onclose()and EOF. -
Uses of Closeable in org.apache.http.impl.io
Classes in org.apache.http.impl.io that implement Closeable Modifier and Type Class Description classChunkedInputStreamImplements chunked transfer coding.classChunkedOutputStreamImplements chunked transfer coding.classContentLengthInputStreamStream that cuts off after a specified number of bytes.classContentLengthOutputStreamA stream wrapper that closes itself after a defined number of bytes.classIdentityInputStreamA stream for reading from asession input buffer.classIdentityOutputStreamA stream for writing with an "identity" transport encoding. -
Uses of Closeable in org.bouncycastle.asn1
Classes in org.bouncycastle.asn1 that implement Closeable Modifier and Type Class Description classASN1InputStreama general purpose ASN.1 decoder - note: this class differs from the others in that it returns null after it has read the last object in the stream. -
Uses of Closeable in org.bouncycastle.crypto.io
Classes in org.bouncycastle.crypto.io that implement Closeable Modifier and Type Class Description classCipherInputStreamA CipherInputStream is composed of an InputStream and a BufferedBlockCipher so that read() methods return data that are read in from the underlying InputStream but have been additionally processed by the Cipher.classCipherOutputStreamclassDigestInputStreamclassDigestOutputStreamclassMacInputStreamclassMacOutputStream -
Uses of Closeable in org.bouncycastle.jcajce.io
Classes in org.bouncycastle.jcajce.io that implement Closeable Modifier and Type Class Description classMacOutputStream -
Uses of Closeable in org.bouncycastle.util.io
Classes in org.bouncycastle.util.io that implement Closeable Modifier and Type Class Description classTeeInputStreamclassTeeOutputStream -
Uses of Closeable in org.bouncycastle.util.io.pem
Classes in org.bouncycastle.util.io.pem that implement Closeable Modifier and Type Class Description classPemReaderclassPemWriterA generic PEM writer, based on RFC 1421 -
Uses of Closeable in org.conscrypt
Classes in org.conscrypt that implement Closeable Modifier and Type Class Description classHandshakeIODataStreamThis class provides Input/Output data functionality for handshake layer.static classLogger.StreamclassOpenSSLBIOInputStreamProvides an interface to OpenSSL's BIO system directly from a Java InputStream.classOpenSSLServerSocketImplOpenSSL-based implementation of server sockets.classOpenSSLSocketImplImplementation of the class OpenSSLSocketImpl based on OpenSSL.classOpenSSLSocketImplWrapperThis class wraps the SSL functionality over an existing connected socket.classSSLBufferedInputThis is a wrapper input stream for ByteBuffer data source.classSSLInputStreamThis class is a base for all input stream classes used in protocol implementation.classSSLServerSocketImplSSLServerSocket implementationclassSSLSocketImplSSLSocket implementation.classSSLSocketInputStreamThis class provides input data stream functionality for SSLSocket.classSSLSocketOutputStreamThis is a application data output stream used in SSLSocket implementation.classSSLSocketWrapperThis class wraps the SSL fuctionality over existing conneted socket.classSSLStreamedInputThis class acts like a filtered input stream: it takes the bytes from another InputStream. -
Uses of Closeable in org.kxml2.io
Classes in org.kxml2.io that implement Closeable Modifier and Type Class Description classKXmlParserAn XML pull parser with limited support for parsing internal DTDs.
LineNumberReaderinstead.