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. From-SVN: r59307
This commit is contained in:
parent
e6226a2f87
commit
3ebb998e6f
7 changed files with 65 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue