Searched refs:close (Results 1 - 25 of 2536) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/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...]
/openjdk7/langtools/test/tools/javac/diags/examples/
H A DTryResourceThrowsInterruptedExc.java28 public void close() throws InterruptedException {} method in class:TryResourceThrowsInterruptedException
H A DResourceClosed.java24 // key: compiler.warn.try.explicit.close.call
32 out.close();
H A DUnreportedExceptionImplicitClose.java24 // key: compiler.err.unreported.exception.implicit.close
28 public void close() throws Exception { } method in class:UnreportedExceptionImplicitClose.MyCloseable
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DTwrLint.java14 r1.close(); // The resource's close
15 r2.close(42); // *Not* the resource's close
35 public void close () { method in class:TwrLint
42 public void close (int arg) { method in class:TwrLint
52 public void close () { method in class:DeprecatedAutoCloseable
H A DResourceInterface.java47 void close() throws E1; method in interface:ResourceInterface.C1
51 void close() throws E2; method in interface:ResourceInterface.C2
55 void close() throws E2, E1; method in interface:ResourceInterface.C3
/openjdk7/jdk/test/sun/nio/ch/
H A DBasic.java35 p.source().close();
36 p.sink().close();
/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/transport/
H A DListenerThread.java34 public void close(); method in interface:ListenerThread
H A DReaderThread.java33 public void close(); method in interface:ReaderThread
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DReceiver.java66 * calling {@link MidiDevice#close MidiDevice.close}, the
68 * description of open/close behaviour see the class description
73 public void close(); method in interface:Receiver
H A DTransmitter.java68 * by calling {@link MidiDevice#close MidiDevice.close}, the
70 * description of open/close behaviour see the class description
75 public void close(); method in interface:Transmitter
/openjdk7/jdk/src/share/classes/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
/openjdk7/jdk/src/share/classes/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
/openjdk7/jdk/test/java/net/Socket/
H A DShutdownBoth.java43 s1.close();
44 s2.close();
45 ss.close();
H A DSetReceiveBufferSize.java49 ss.close();
50 s.close();
51 accepted.close();
/openjdk7/jdk/test/java/net/Socket/setReuseAddress/
H A DRestart.java52 // close server socket and the accepted connection
53 ss.close();
54 s2.close();
58 ss.close();
60 // close the client socket
61 s1.close();
69 if (ss != null) ss.close();
70 if (s1 != null) s1.close();
71 if (s2 != null) s2.close();
/openjdk7/jdk/test/java/net/
H A DB6499348.java45 s.close();
46 ss.close();
47 ds.close();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/
H A DCOFFFile.java39 public void close(); method in interface:COFFFile
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelDirector.java45 public void close(); method in interface:ModelDirector
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DNestedClassWriter.java47 public void close() throws IOException; method in interface:NestedClassWriter
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DNoCloseInputStream.java43 public void close() throws IOException { method in class:NoCloseInputStream
44 // Intentionally left empty. use closeInput() to close
48 super.close();
H A DNoCloseOutputStream.java43 public void close() throws IOException { method in class:NoCloseOutputStream
44 // Intentionally left empty. use closeOutput() to close
48 super.close();
/openjdk7/jdk/test/com/sun/tools/attach/
H A DApplication.java46 s.close();
47 ss.close();
/openjdk7/jdk/test/java/io/FileInputStream/
H A DLeadingSlash.java39 new FileInputStream("\\" + file.getPath()).close();
40 new FileOutputStream("\\" + file.getPath()).close();

Completed in 150 milliseconds

1234567891011>>