Uses of Interface
java.io.Closeable
-
Packages that use Closeable Package Description com.sun.nio.sctp A Java API for Stream Control Transport Protocol.java.io Provides for system input and output through data streams, serialization and the file system.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.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.channels.spi Service-provider classes for thejava.nio.channelspackage.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.java.security Provides the classes and interfaces for the security framework.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.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javax.crypto Provides the classes and interfaces for cryptographic operations.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.management.remote Interfaces for remote access to JMX MBean servers.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.javax.net.ssl Provides classes for the secure socket package.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.jdk.jfr This package provides classes to create events and control Flight Recorder.jdk.jfr.consumer This package contains classes for consuming Flight Recorder data.jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn. -
-
Uses of Closeable in com.sun.nio.sctp
Classes in com.sun.nio.sctp that implement Closeable Modifier and Type Class Description classSctpChannelA selectable channel for message-oriented connected SCTP sockets.classSctpMultiChannelA selectable channel for message-oriented SCTP sockets.classSctpServerChannelA selectable channel for message-oriented listening SCTP sockets. -
Uses of Closeable in java.io
Classes in java.io that implement Closeable Modifier and Type Class Description classBufferedInputStreamABufferedInputStreamadds functionality to another input stream-namely, the ability to buffer the input and to support themarkandresetmethods.classBufferedOutputStreamThe class implements a buffered output stream.classBufferedReaderReads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.classBufferedWriterWrites text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.classByteArrayInputStreamAByteArrayInputStreamcontains an internal buffer that contains bytes that may be read from the stream.classByteArrayOutputStreamThis class implements an output stream in which the data is written into a byte array.classCharArrayReaderThis class implements a character buffer that can be used as a character-input stream.classCharArrayWriterThis class implements a character buffer that can be used as an Writer.classDataInputStreamA data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.classDataOutputStreamA data output stream lets an application write primitive Java data types to an output stream in a portable way.classFileInputStreamAFileInputStreamobtains input bytes from a file in a file system.classFileOutputStreamA file output stream is an output stream for writing data to aFileor to aFileDescriptor.classFileReaderReads text from character files using a default buffer size.classFileWriterWrites text to character files using a default buffer size.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.classFilterOutputStreamThis class is the superclass of all classes that filter output streams.classFilterReaderAbstract class for reading filtered character streams.classFilterWriterAbstract class for writing filtered character streams.classInputStreamThis abstract class is the superclass of all classes representing an input stream of bytes.classInputStreamReaderAn InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specifiedcharset.classLineNumberInputStreamDeprecated.This class incorrectly assumes that bytes adequately represent characters.classLineNumberReaderA buffered character-input stream that keeps track of line numbers.classObjectInputStreamAn ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.classObjectOutputStreamAn ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.classOutputStreamThis abstract class is the superclass of all classes representing an output stream of bytes.classOutputStreamWriterAn OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specifiedcharset.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.classPipedOutputStreamA piped output stream can be connected to a piped input stream to create a communications pipe.classPipedReaderPiped character-input streams.classPipedWriterPiped character-output streams.classPrintStreamAPrintStreamadds functionality to another output stream, namely the ability to print representations of various data values conveniently.classPrintWriterPrints formatted representations of objects to a text-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.classPushbackReaderA character-stream reader that allows characters to be pushed back into the stream.classRandomAccessFileInstances of this class support both reading and writing to a random access file.classReaderAbstract class for reading character streams.classSequenceInputStreamASequenceInputStreamrepresents the logical concatenation of other input streams.classStringBufferInputStreamDeprecated.This class does not properly convert characters into bytes.classStringReaderA character stream whose source is a string.classStringWriterA character stream that collects its output in a string buffer, which can then be used to construct a string.classWriterAbstract class for writing to character streams. -
Uses of Closeable in java.lang.module
Subinterfaces of Closeable in java.lang.module Modifier and Type Interface Description interfaceModuleReaderProvides access to the content of a module. -
Uses of Closeable in java.net
Classes in java.net that implement Closeable Modifier and Type Class Description classDatagramSocketThis class represents a socket for sending and receiving datagram packets.classMulticastSocketThe multicast datagram socket class is useful for sending and receiving IP multicast packets.classServerSocketThis class implements server sockets.classSocketThis class implements client sockets (also called just "sockets").classURLClassLoaderThis class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories. -
Uses of Closeable in java.nio.channels
Subinterfaces of Closeable in java.nio.channels Modifier and Type Interface Description interfaceAsynchronousByteChannelAn asynchronous channel that can read and write bytes.interfaceAsynchronousChannelA channel that supports asynchronous I/O operations.interfaceByteChannelA channel that can read and write bytes.interfaceChannelA nexus for I/O operations.interfaceGatheringByteChannelA channel that can write bytes from a sequence of buffers.interfaceInterruptibleChannelA channel that can be asynchronously closed and interrupted.interfaceMulticastChannelA network channel that supports Internet Protocol (IP) multicasting.interfaceNetworkChannelA channel to a network socket.interfaceReadableByteChannelA channel that can read bytes.interfaceScatteringByteChannelA channel that can read bytes into a sequence of buffers.interfaceSeekableByteChannelA byte channel that maintains a current position and allows the position to be changed.interfaceWritableByteChannelA channel that can write bytes.Classes in java.nio.channels that implement Closeable Modifier and Type Class Description classAsynchronousFileChannelAn asynchronous channel for reading, writing, and manipulating a file.classAsynchronousServerSocketChannelAn asynchronous channel for stream-oriented listening sockets.classAsynchronousSocketChannelAn asynchronous channel for stream-oriented connecting sockets.classDatagramChannelA selectable channel for datagram-oriented sockets.classFileChannelA channel for reading, writing, mapping, and manipulating a file.static classPipe.SinkChannelA channel representing the writable end of aPipe.static classPipe.SourceChannelA channel representing the readable end of aPipe.classSelectableChannelA channel that can be multiplexed via aSelector.classSelectorA multiplexor ofSelectableChannelobjects.classServerSocketChannelA selectable channel for stream-oriented listening sockets.classSocketChannelA selectable channel for stream-oriented connecting sockets. -
Uses of Closeable in java.nio.channels.spi
Classes in java.nio.channels.spi that implement Closeable Modifier and Type Class Description classAbstractInterruptibleChannelBase implementation class for interruptible channels.classAbstractSelectableChannelBase implementation class for selectable channels.classAbstractSelectorBase implementation class for selectors. -
Uses of Closeable in java.nio.file
Subinterfaces of Closeable in java.nio.file Modifier and Type Interface Description interfaceDirectoryStream<T>An object to iterate over the entries in a directory.interfaceSecureDirectoryStream<T>ADirectoryStreamthat defines operations on files that are located relative to an open directory.interfaceWatchServiceA watch service that watches registered objects for changes and events.Classes in java.nio.file that implement Closeable Modifier and Type Class Description classFileSystemProvides an interface to a file system and is the factory for objects to access files and other objects in the file system. -
Uses of Closeable in java.rmi.server
Classes in java.rmi.server that implement Closeable Modifier and Type Class Description classLogStreamDeprecated.no replacement -
Uses of Closeable in java.security
Classes in java.security that implement Closeable Modifier and Type Class Description classDigestInputStreamA transparent stream that updates the associated message digest using the bits going through the stream.classDigestOutputStreamA transparent stream that updates the associated message digest using the bits going through the stream. -
Uses of Closeable in java.util
Classes in java.util that implement Closeable Modifier and Type Class Description classFormatterAn interpreter for printf-style format strings.classScannerA simple text scanner which can parse primitive types and strings using regular expressions. -
Uses of Closeable in java.util.jar
Classes in java.util.jar that implement Closeable Modifier and Type Class Description classJarFileTheJarFileclass is used to read the contents of a jar file from any file that can be opened withjava.io.RandomAccessFile.classJarInputStreamTheJarInputStreamclass is used to read the contents of a JAR file from any input stream.classJarOutputStreamTheJarOutputStreamclass is used to write the contents of a JAR file to any output stream. -
Uses of Closeable in java.util.zip
Classes in java.util.zip that implement Closeable Modifier and Type Class Description classCheckedInputStreamAn input stream that also maintains a checksum of the data being read.classCheckedOutputStreamAn output stream that also maintains a checksum of the data being written.classDeflaterInputStreamImplements an input stream filter for compressing data in the "deflate" compression format.classDeflaterOutputStreamThis class implements an output 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.classGZIPOutputStreamThis class implements a stream filter for writing compressed data in the GZIP file format.classInflaterInputStreamThis class implements a stream filter for uncompressing data in the "deflate" compression format.classInflaterOutputStreamImplements an output stream filter for uncompressing data stored in the "deflate" compression format.classZipFileThis class is used to read entries from a zip file.classZipInputStreamThis class implements an input stream filter for reading files in the ZIP file format.classZipOutputStreamThis class implements an output stream filter for writing files in the ZIP file format. -
Uses of Closeable in javax.crypto
Classes in javax.crypto that implement Closeable 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.classCipherOutputStreamA CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream. -
Uses of Closeable in javax.imageio.stream
Subinterfaces of Closeable in javax.imageio.stream Modifier and Type Interface Description interfaceImageInputStreamA seekable input stream interface for use byImageReaders.interfaceImageOutputStreamA seekable output stream interface for use byImageWriters.Classes in javax.imageio.stream that implement Closeable Modifier and Type Class Description classFileCacheImageInputStreamAn implementation ofImageInputStreamthat gets its input from a regularInputStream.classFileCacheImageOutputStreamAn implementation ofImageOutputStreamthat writes its output to a regularOutputStream.classFileImageInputStreamAn implementation ofImageInputStreamthat gets its input from aFileorRandomAccessFile.classFileImageOutputStreamAn implementation ofImageOutputStreamthat writes its output directly to aFileorRandomAccessFile.classImageInputStreamImplAn abstract class implementing theImageInputStreaminterface.classImageOutputStreamImplAn abstract class implementing theImageOutputStreaminterface.classMemoryCacheImageInputStreamAn implementation ofImageInputStreamthat gets its input from a regularInputStream.classMemoryCacheImageOutputStreamAn implementation ofImageOutputStreamthat writes its output to a regularOutputStream. -
Uses of Closeable in javax.management.loading
Classes in javax.management.loading that implement Closeable Modifier and Type Class Description classMLetAllows you to instantiate and register one or several MBeans in the MBean server coming from a remote URL.classPrivateMLetAn MLet that is not added to theClassLoaderRepository. -
Uses of Closeable in javax.management.remote
Subinterfaces of Closeable in javax.management.remote Modifier and Type Interface Description interfaceJMXConnectorThe client end of a JMX API connector. -
Uses of Closeable in javax.management.remote.rmi
Subinterfaces of Closeable in javax.management.remote.rmi Modifier and Type Interface Description interfaceRMIConnectionRMI object used to forward an MBeanServer request from a client to its MBeanServer implementation on the server side.Classes in javax.management.remote.rmi that implement Closeable Modifier and Type Class Description classRMIConnectionImplImplementation of theRMIConnectioninterface.classRMIConnectionImpl_StubclassRMIConnectorA connection to a remote RMI connector.classRMIIIOPServerImplDeprecated.This transport is no longer supported.classRMIJRMPServerImplAnRMIServerobject that is exported through JRMP and that creates client connections as RMI objects exported through JRMP.classRMIServerImplAn RMI object representing a connector server. -
Uses of Closeable in javax.net.ssl
Classes in javax.net.ssl that implement Closeable Modifier and Type Class Description classSSLServerSocketThis class extendsServerSocketand provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.classSSLSocketThis class extendsSocketand provides secure sockets using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols. -
Uses of Closeable in javax.sound.sampled
Classes in javax.sound.sampled that implement Closeable Modifier and Type Class Description classAudioInputStreamAn audio input stream is an input stream with a specified audio format and length. -
Uses of Closeable in javax.swing
Classes in javax.swing that implement Closeable Modifier and Type Class Description classProgressMonitorInputStreamMonitors the progress of reading from some InputStream. -
Uses of Closeable in javax.tools
Subinterfaces of Closeable in javax.tools Modifier and Type Interface Description interfaceJavaFileManagerFile manager for tools operating on Java™ programming language source and class files.interfaceStandardJavaFileManagerFile manager based on java.io.File and java.nio.file.Path.Classes in javax.tools that implement Closeable Modifier and Type Class Description classForwardingJavaFileManager<M extends JavaFileManager>Forwards calls to a given file manager. -
Uses of Closeable in jdk.jfr
Classes in jdk.jfr that implement Closeable Modifier and Type Class Description classRecordingProvides means to configure, start, stop and dump recording data to disk. -
Uses of Closeable in jdk.jfr.consumer
Classes in jdk.jfr.consumer that implement Closeable Modifier and Type Class Description classRecordingFileA recording file. -
Uses of Closeable in jdk.nashorn.api.scripting
Classes in jdk.nashorn.api.scripting that implement Closeable Modifier and Type Class Description classURLReaderDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
-