Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / nio / channels / Channels.h
blob384156483e05197d7524b038f5a925a6d4d2f481
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_channels_Channels__
5 #define __java_nio_channels_Channels__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace nio
16 namespace channels
18 class Channels;
19 class ReadableByteChannel;
20 class WritableByteChannel;
22 namespace charset
24 class CharsetDecoder;
25 class CharsetEncoder;
31 class java::nio::channels::Channels : public ::java::lang::Object
34 Channels();
35 public:
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__