This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.io
interface Closeable

All Known Subinterfaces:
Channel, JMXConnector, InterruptibleChannel, ReadableByteChannel, WritableByteChannel, ScatteringByteChannel, ByteChannel, GatheringByteChannel
All Known Implementing Classes:
Formatter, InputStream, AudioInputStream, ByteArrayInputStream, FileInputStream, FilterInputStream, InputStream, ObjectInputStream, PipedInputStream, SequenceInputStream, StringBufferInputStream, BufferedInputStream, CheckedInputStream, CipherInputStream, DataInputStream, DeflaterInputStream, DigestInputStream, InflaterInputStream, LineNumberInputStream, ProgressMonitorInputStream, PushbackInputStream, InputStream, GZIPInputStream, ZipInputStream, JarInputStream, OutputStream, ByteArrayOutputStream, FileOutputStream, FilterOutputStream, ObjectOutputStream, OutputStream, PipedOutputStream, BufferedOutputStream, CheckedOutputStream, CipherOutputStream, DataOutputStream, DeflaterOutputStream, DigestOutputStream, InflaterOutputStream, PrintStream, OutputStream, GZIPOutputStream, ZipOutputStream, LogStream, JarOutputStream, PrintStream, RandomAccessFile, Reader, BufferedReader, CharArrayReader, FilterReader, InputStreamReader, PipedReader, StringReader, LineNumberReader, PushbackReader, FileReader, RMIServerImpl, RMIIIOPServerImpl, RMIJRMPServerImpl, Writer, BufferedWriter, CharArrayWriter, FilterWriter, OutputStreamWriter, PipedWriter, PrintWriter, StringWriter, FileWriter

public interface Closeable

A Closeable is a source or destination of data that can be closed. The close method is invoked to release resources that the object is holding (such as open files).

See Also (auto-generated):

InputStream

BufferedReader

File


Method Summary
 void

          Closes this stream and releases any system resources associated with it.
 

Method Detail

close

public void close()
           throws IOException
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

Throws:
IOException - if an I/O error occurs


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.