ChannelReader: Fixed comments.
2005-02-23 Robert Schuster <thebohemian@gmx.net> * gnu/java/nio/ChannelReader: Fixed comments. 2005-02-23 Robert Schuster <thebohemian@gmx.net> * java/nio/channels/Channels: Added FIXMEs about stub method implementation. (newReader): Implemented. * gnu/java/nio/ChannelReader: New class. From-SVN: r95444
This commit is contained in:
committed by
Michael Koch
parent
16b31d8f3e
commit
c34fdf0b7d
@@ -40,6 +40,7 @@ package java.nio.channels;
|
||||
|
||||
import gnu.java.nio.ChannelInputStream;
|
||||
import gnu.java.nio.ChannelOutputStream;
|
||||
import gnu.java.nio.ChannelReader;
|
||||
import gnu.java.nio.InputStreamChannel;
|
||||
import gnu.java.nio.OutputStreamChannel;
|
||||
import gnu.java.nio.channels.FileChannelImpl;
|
||||
@@ -115,7 +116,7 @@ public final class Channels
|
||||
public static Reader newReader(ReadableByteChannel ch, CharsetDecoder dec,
|
||||
int minBufferCap)
|
||||
{
|
||||
throw new Error("not implemented");
|
||||
return new ChannelReader(ch, dec, minBufferCap);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -137,6 +138,7 @@ public final class Channels
|
||||
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc,
|
||||
int minBufferCap)
|
||||
{
|
||||
// FIXME: implement java.nio.channels.Channel.newWriter(WritableByteChannel, CharsetEncoder, int)
|
||||
throw new Error("not implemented");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user