OutputStreamChannel.java: New file.
2003-12-19 Michael Koch <konqueror@gmx.de> * gnu/java/nio/OutputStreamChannel.java: New file. * java/nio/channels/Channels.java (newChannel): Implemented. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/OutputStreamChannel.java. * Makefile.in: Regenerated. From-SVN: r74840
This commit is contained in:
committed by
Michael Koch
parent
71646cb777
commit
9175d628d0
@@ -38,6 +38,7 @@ exception statement from your version. */
|
||||
package java.nio.channels;
|
||||
|
||||
import gnu.java.nio.InputStreamChannel;
|
||||
import gnu.java.nio.OutputStreamChannel;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Reader;
|
||||
@@ -78,9 +79,9 @@ public final class Channels
|
||||
/**
|
||||
* Constructs a channel that writes bytes to the given stream.
|
||||
*/
|
||||
public static WritableByteChannel newChannel (OutputStream out)
|
||||
public static WritableByteChannel newChannel(OutputStream out)
|
||||
{
|
||||
throw new Error ("not implemented");
|
||||
return new OutputStreamChannel (out);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user