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

1234567891011>>

/openjdk7/langtools/test/tools/javac/diags/examples/
H A DTryResourceThrowsInterruptedExc.java28 public void close() throws InterruptedException {} method in class:TryResourceThrowsInterruptedException
H A DUnreportedExceptionImplicitClose.java24 // key: compiler.err.unreported.exception.implicit.close
28 public void close() throws Exception { } method in class:UnreportedExceptionImplicitClose.MyCloseable
/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/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/T7179353/
H A DGenericsAndTWRCompileErrorTest.java34 public void close() throws E { } method in class:GenericsAndTWRCompileErrorTest.Resource
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DBadTwr.java33 public void close() { method in class:BadTwr
H A DBadTwrSyntax.java24 public void close() { method in class:BadTwrSyntax
H A DExplicitFinal.java53 public void close() throws IOException { method in class:ExplicitFinal
54 System.out.println("Calling close on " + this);
H A DImplicitFinal.java37 public void close() throws IOException { method in class:ImplicitFinal
H A DResourceOutsideTry.java20 public void close() throws Exception {} method in class:ResourceOutsideTry.MyResource
H A DTwrOnNonResource.java24 * A close method, but the class is <em>not</em> Closeable or
27 public void close() { method in class:TwrOnNonResource
H A DDuplicateResourceDecl.java18 public void close() throws Exception {} method in class:DuplicateResourceDecl.MyResource
H A DTwrFlow.java21 * A close method, but the class is <em>not</em> Closeable or
24 public void close() throws CustomCloseException { method in class:TwrFlow
H A DTwrSuppression.java60 public void close() throws Exception { method in class:TwrSuppression
H A DWeirdTwr.java45 public void close() { method in class:WeirdTwr
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
/openjdk7/jdk/src/share/classes/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
/openjdk7/jdk/src/share/classes/javax/naming/
H A DNamingEnumeration.java133 * explicitly call <tt>close()</tt>.
137 * notify servers to cancel any outstanding requests. The <tt>close()</tt>
140 * manage their resources when client omits the <tt>close()</tt> calls.
146 public void close() throws NamingException; method in interface:NamingEnumeration
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/
H A DCloseable.java60 public void close() throws WebServiceException; method in interface:Closeable
/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/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/javax/smartcardio/
H A DCardChannel.java72 * {@linkplain #close closed} or if the corresponding Card has been
87 * CardChannel#close CardChannel.close()} methods.
114 * {@linkplain #close closed} or if the corresponding Card has been
142 * CardChannel#close CardChannel.close()} methods.
153 * {@linkplain #close closed} or if the corresponding Card has been
182 public abstract void close() throws CardException; method in class:CardChannel

Completed in 690 milliseconds

1234567891011>>