Searched defs:close (Results 1 - 25 of 177) sorted by relevance

12345678

/libcore/ojluni/src/main/java/java/io/
H A DCloseable.java32 * The close method is invoked to release resources that the object is
47 public void close() throws IOException; method in interface:Closeable
H A DFilterOutputStream.java147 * The <code>close</code> method of <code>FilterOutputStream</code>
149 * <code>close</code> method of its underlying output stream.
155 public void close() throws IOException { method in class:FilterOutputStream
160 out.close();
H A DOutputStream.java143 * associated with this stream. The general contract of <code>close</code>
147 * The <code>close</code> method of <code>OutputStream</code> does nothing.
151 public void close() throws IOException { method in class:OutputStream
H A DFilterInputStream.java175 * method simply performs <code>in.close()</code>.
180 public void close() throws IOException { method in class:FilterInputStream
181 in.close();
H A DFilterReader.java120 public void close() throws IOException { method in class:FilterReader
121 in.close();
H A DFilterWriter.java103 public void close() throws IOException { method in class:FilterWriter
104 out.close();
H A DInputStream.java246 * invoking the {@link #close()} method.
266 * <p> The <code>close</code> method of <code>InputStream</code> does
271 public void close() throws IOException {} method in class:InputStream
H A DInputStreamReader.java198 public void close() throws IOException { method in class:InputStreamReader
199 sd.close();
H A DObjectInput.java106 public void close() throws IOException; method in interface:ObjectInput
H A DObjectOutput.java89 public void close() throws IOException; method in interface:ObjectOutput
H A DPipedOutputStream.java174 public void close() throws IOException { method in class:PipedOutputStream
H A DPipedWriter.java178 public void close() throws IOException { method in class:PipedWriter
H A DSequenceInputStream.java61 * <code>close</code> method.
106 in.close();
132 * has been closed by invoking its {@link #close()} method
154 * reaches the end of the stream, it calls the <code>close</code>
183 * the stream, it calls the <code>close</code> method of the current
226 * before the <code>close</code> method returns.
230 public void close() throws IOException { method in class:SequenceInputStream
/libcore/ojluni/src/main/java/java/lang/
H A DAutoCloseable.java42 * declare concrete implementations of the {@code close} method to
44 * if the close operation cannot fail.
47 * to not have the {@code close} method throw {@link
56 * exception to be suppressed, the {@code AutoCloseable.close}
59 * <p>Note that unlike the {@link java.io.Closeable#close close}
60 * method of {@link java.io.Closeable}, this {@code close} method
62 * calling this {@code close} method more than once may have some
63 * visible side effect, unlike {@code Closeable.close} which is
67 * to make their {@code close} method
71 void close() throws Exception; method in interface:AutoCloseable
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DInterruptibleChannel.java40 * #close close} method. This will cause the blocked thread to receive an
76 * Channel#close Channel} interface. </p>
80 public void close() throws IOException; method in interface:InterruptibleChannel
H A DChannel.java82 public void close() throws IOException; method in interface:Channel
H A DFileLock.java267 public final void close() throws IOException { method in class:FileLock
/libcore/luni/src/main/java/libcore/io/
H A DMemoryMappedFile.java31 * A memory-mapped file. Use {@link #mmap} to map a file, {@link #close} to unmap a file,
54 Libcore.os.close(fd);
59 * Unmaps this memory-mapped file using munmap(2). This is a no-op if close has already been
60 * called. Note that this class does <i>not</i> use finalization; you must call {@code close}
64 * error to use such an iterator after calling {@code close}.
66 public synchronized void close() throws ErrnoException { method in class:MemoryMappedFile
/libcore/ojluni/src/main/java/java/util/logging/
H A DConsoleHandler.java110 * Override <tt>StreamHandler.close</tt> to do a flush but not
111 * to close the output stream. That is, we do <b>not</b>
112 * close <tt>System.err</tt>.
114 public void close() { method in class:ConsoleHandler
/libcore/ojluni/src/main/java/javax/sql/
H A DPooledConnection.java60 * method <code>close</code>. When connection pooling is being done,
71 * calls the <code>PooledConnection</code> method <code>close</code>.
80 * method <code>close</code>. When <code>Statement</code> pooling is being done,
124 void close() throws SQLException; method in interface:PooledConnection
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DUnixSelectorTest.java56 public void close() throws Exception{ method in class:UnixSelectorTest.Server
57 serverChannel.close();
86 server.close();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DBrokenInputStream.java51 public void close() throws IOException { method in class:BrokenInputStream
52 stream.close();
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldXMLFormatterTest.java70 public void close() {} method in class:OldXMLFormatterTest.MockHandler
/libcore/luni/src/test/java/libcore/javax/sql/
H A DOldConnectionEventTest.java53 public void close() throws SQLException {} method in class:OldConnectionEventTest.Impl_PooledConnection
/libcore/luni/src/test/java/tests/support/
H A DThreadPool.java65 public synchronized void close() { method in class:ThreadPool

Completed in 541 milliseconds

12345678