diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-20 16:19:08 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-20 16:19:08 +0000 |
commit | f851ffbfdbf05aefe9acc61f2645a3318e3c201c (patch) | |
tree | 79f607cf0830a31df050e0c63c02b22944c84a26 /libjava/java/io/FileOutputStream.java | |
parent | 0753f1b5364c4fe7169b9a836b0bc365ffd31300 (diff) | |
download | gcc-f851ffbfdbf05aefe9acc61f2645a3318e3c201c.tar.gz |
2002-11-20 Michael Koch <konqueror@gmx.de>
* java/io/FileInputStream.java
(getChannel): New method.
* java/io/FileOutputStream.java
(getChannel): New method.
* java/net/ServerSocket.java
(bind): Removed duplicate code and called another bind method instead.
* java/nio/channels/SelectionKey.java
(isValid): Removed wrong exception documentation.
* java/nio/channels/ServerSocketChannel.java
(accept): Added exception documentation.
(open): Fixed typo, added exception documentation.
* java/nio/channels/spi/AbstractSelectableChannel.java
(implCloseChannel): Added exception documentation.
(add): Reformated.
(register): Added exception documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/FileOutputStream.java')
-rw-r--r-- | libjava/java/io/FileOutputStream.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/java/io/FileOutputStream.java b/libjava/java/io/FileOutputStream.java index b592299a355..5ea24e5dfcf 100644 --- a/libjava/java/io/FileOutputStream.java +++ b/libjava/java/io/FileOutputStream.java @@ -10,6 +10,8 @@ details. */ package java.io; +import java.nio.channels.FileChannel; + /** * @author Tom Tromey <tromey@cygnus.com> * @date September 24, 1998 @@ -93,4 +95,9 @@ public class FileOutputStream extends OutputStream // Instance variables. private FileDescriptor fd; + + public FileChannel getChannel () + { + return null; + } } |