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

123456

/libcore/luni/src/main/java/java/io/
H A DCloseable.java20 * An {@code AutoCloseable} whose close method may throw an {@link IOException}.
27 * <p>Although only the first call has any effect, it is safe to call close
29 * overridden {@code AutoCloseable.close()}, which may be called at most
32 void close() throws IOException; method in interface:Closeable
H A DBufferedOutputStream.java146 @Override public synchronized void close() throws IOException { method in class:BufferedOutputStream
152 super.close();
H A DFilterInputStream.java63 public void close() throws IOException { method in class:FilterInputStream
64 in.close();
H A DFilterOutputStream.java55 * if an error occurs attempting to close this stream.
58 public void close() throws IOException { method in class:FilterOutputStream
67 out.close();
H A DFilterReader.java55 public void close() throws IOException { method in class:FilterReader
57 in.close();
H A DFilterWriter.java53 * if an error occurs attempting to close this writer.
56 public void close() throws IOException { method in class:FilterWriter
58 out.close();
H A DInputStream.java107 * any resources during close. This implementation does nothing.
112 public void close() throws IOException { method in class:InputStream
H A DObjectInput.java44 public void close() throws IOException; method in interface:ObjectInput
H A DObjectOutput.java34 public void close() throws IOException; method in interface:ObjectOutput
H A DOutputStream.java63 public void close() throws IOException { method in class:OutputStream
H A DPipedOutputStream.java64 public void close() throws IOException { method in class:PipedOutputStream
H A DPipedWriter.java65 public void close() throws IOException { method in class:PipedWriter
H A DSequenceInputStream.java96 public void close() throws IOException { method in class:SequenceInputStream
110 in.close();
162 * will close that substream and start with the next one. If there are no
/libcore/luni/src/main/java/java/lang/
H A DAutoCloseable.java21 * are not used any longer. Calling the {@code close} method releases resources
29 * foo.close();
39 void close() throws Exception; method in interface:AutoCloseable
/libcore/luni/src/main/java/java/nio/channels/
H A DInterruptibleChannel.java27 * the channel's {@link #close()} method. The I/O thread will throw an
50 public void close() throws IOException; method in interface:InterruptibleChannel
H A DChannel.java49 * If multiple threads attempt to simultaneously close a channel, then only
56 public void close() throws IOException; method in interface:Channel
H A DFileLock.java190 public final void close() throws IOException { method in class:FileLock
H A DSelector.java64 * called (except calling {@link #close()} or {@link #wakeup()}) results in
70 public abstract void close() throws IOException; method in class:Selector
/libcore/luni/src/main/java/java/util/logging/
H A DConsoleHandler.java57 public void close() { method in class:ConsoleHandler
58 super.close(false);
H A DSocketHandler.java130 public void close() { method in class:SocketHandler
132 super.close();
134 this.socket.close();
/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/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/java/nio/channels/spi/
H A DAbstractInterruptibleChannel.java46 AbstractInterruptibleChannel.this.close();
67 * If multiple threads attempt to simultaneously close a channel, then only
73 * @see java.nio.channels.Channel#close()
75 @Override public final void close() throws IOException { method in class:AbstractInterruptibleChannel
124 * closed through another invocation of {@code close()} and that the method
/libcore/luni/src/main/java/javax/crypto/
H A DCipherOutputStream.java123 public void close() throws IOException { method in class:CipherOutputStream
141 out.close();

Completed in 275 milliseconds

123456