Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

Closeable Interface Reference

Inherited by FileInputStream, FileOutputStream, InputStream, OutputStream, PrintStream, RandomAccessFile, Reader, Writer, Channel, and Formatter.

List of all members.


Detailed Description

Closeable represents the source or destination of some data which can be called its close method to release resources it holds.

Public Member Functions

void close () throws IOException
 Close the object and release any system resources it holds.

Member Function Documentation

void close (  )  throws IOException

Close the object and release any system resources it holds.

If the object has been close, then invoke this method has no effect.

Exceptions:
IOException if any error raises when closing the object.

Implemented in DeflaterOutputStream, GZIPInputStream, InflaterInputStream, ZipInputStream, ZipOutputStream, CipherInputStream, CipherOutputStream, PluginUtils.IisWrapper, LdapClient.InputStreamWrap, FileHandler.MeasureOutputStream, BufferedInputStream, BufferedReader, BufferedWriter, ByteArrayInputStream, ByteArrayOutputStream, CharArrayReader, CharArrayWriter, FilterInputStream, FilterOutputStream, FilterReader, FilterWriter, InputStream, InputStreamReader, ObjectInputStream, ObjectOutputStream, OutputStream, OutputStreamWriter, PipedInputStream, PipedOutputStream, PipedReader, PipedWriter, PrintStream, PrintWriter, PushbackInputStream, PushbackReader, Reader, SequenceInputStream, StringReader, StringWriter, Writer, Formatter, FtpURLInputStream, HttpURLConnection.LimitedInputStream, HttpURLConnection.ChunkedInputStream, HttpURLConnection.HttpOutputStream, JarURLConnection.JarURLConnectionInputStream, ProcessInputStream, ProcessOutputStream, SocketInputStream, SocketOutputStream, FileInputStream, FileOutputStream, RandomAccessFile, Runtime.SubProcess.SubInputStream, Runtime.SubProcess.SubOutputStream, Channel, Channels.ChannelInputStream, Channels.WritableByteChannelOutputStream, Channels.ByteChannelReader, Channels.ByteChannelWriter, InterruptibleChannel, AbstractInterruptibleChannel, SocketChannelImpl.SocketChannelOutputStream, SocketChannelImpl.SocketChannelInputStream, HttpOutputStream, X509CertFactoryImpl.RestoringInputStream, AudioInputStream, ProgressMonitorInputStream, and SSLSocketInputStream.