summaryrefslogtreecommitdiffstats
path: root/libjava/java/nio/channels/Channel.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/channels/Channel.java')
-rw-r--r--libjava/java/nio/channels/Channel.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/libjava/java/nio/channels/Channel.java b/libjava/java/nio/channels/Channel.java
index fabe183be1f..8e73f87f88f 100644
--- a/libjava/java/nio/channels/Channel.java
+++ b/libjava/java/nio/channels/Channel.java
@@ -1,5 +1,5 @@
/* Channel.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -35,15 +35,18 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
+
package java.nio.channels;
import java.io.IOException;
-
public interface Channel
{
/**
* Tells whether this channel is open or not
+ *
+ * @return <code>true</code>if channel is open,
+ * </code>false</code> otherwise
*/
boolean isOpen();
OpenPOWER on IntegriCloud