2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_channels_Channels__
5 #define __java_nio_channels_Channels__
9 #include <java/lang/Object.h>
19 class ReadableByteChannel
;
20 class WritableByteChannel
;
31 class java::nio::channels::Channels
: public ::java::lang::Object
36 static ::java::io::InputStream
* newInputStream(::java::nio::channels::ReadableByteChannel
*);
37 static ::java::io::OutputStream
* newOutputStream(::java::nio::channels::WritableByteChannel
*);
38 static ::java::nio::channels::ReadableByteChannel
* newChannel(::java::io::InputStream
*);
39 static ::java::nio::channels::WritableByteChannel
* newChannel(::java::io::OutputStream
*);
40 static ::java::io::Reader
* newReader(::java::nio::channels::ReadableByteChannel
*, ::java::nio::charset::CharsetDecoder
*, jint
);
41 static ::java::io::Reader
* newReader(::java::nio::channels::ReadableByteChannel
*, ::java::lang::String
*);
42 static ::java::io::Writer
* newWriter(::java::nio::channels::WritableByteChannel
*, ::java::nio::charset::CharsetEncoder
*, jint
);
43 static ::java::io::Writer
* newWriter(::java::nio::channels::WritableByteChannel
*, ::java::lang::String
*);
44 static ::java::lang::Class
class$
;
47 #endif // __java_nio_channels_Channels__