Searched defs:close (Results 1 - 25 of 182) 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
44 * <p> As noted in {@link AutoCloseable#close()}, cases where the
45 * close may fail require careful attention. It is strongly advised
52 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.
156 public void close() throws IOException { method in class:FilterOutputStream
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.java248 * invoking the {@link #close()} method.
268 * <p> The <code>close</code> method of <code>InputStream</code> does
273 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
/libcore/ojluni/src/main/java/java/lang/
H A DAutoCloseable.java30 * until it is closed. The {@link #close()} method of an {@code AutoCloseable}
59 * declare concrete implementations of the {@code close} method to
61 * if the close operation cannot fail.
63 * <p> Cases where the close operation may fail require careful
67 * close} method is unlikely to be invoked more than once and so
73 * to not have the {@code close} method throw {@link
82 * exception to be suppressed, the {@code AutoCloseable.close}
85 * <p>Note that unlike the {@link java.io.Closeable#close close}
86 * method of {@link java.io.Closeable}, this {@code close} metho
97 void close() throws Exception; method in interface:AutoCloseable
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DAsynchronousChannel.java56 * channel's {@link #close close} method is invoked, then the I/O operation
116 void close() throws IOException; method in interface:AsynchronousChannel
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 DMulticastChannel.java139 @Override void close() throws IOException; method in interface:MulticastChannel
/libcore/ojluni/src/main/java/java/nio/file/
H A DWatchService.java62 * #close close} method may be invoked at any time to close the service causing
128 void close() throws IOException; method in interface:WatchService
/libcore/ojluni/src/main/java/java/util/logging/
H A DConsoleHandler.java121 * Override <tt>StreamHandler.close</tt> to do a flush but not
122 * to close the output stream. That is, we do <b>not</b>
123 * close <tt>System.err</tt>.
126 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/main/java/libcore/io/
H A DMemoryMappedFile.java31 * A memory-mapped file. Use {@link #mmapRO} to map a file, {@link #close} to unmap a file,
60 Libcore.os.close(fd);
65 * Unmaps this memory-mapped file using munmap(2). This is a no-op if close has already been
66 * called. Note that this class does <i>not</i> use finalization; you must call {@code close}
70 * error to use such an iterator after calling {@code close}.
72 public void close() throws ErrnoException { method in class:MemoryMappedFile
/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 6012 milliseconds

12345678