// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_channels_Channels__
#define __java_nio_channels_Channels__

#pragma interface

#include <java/lang/Object.h>

extern "Java"
{
  namespace java
  {
    namespace nio
    {
      namespace charset
      {
        class CharsetEncoder;
        class CharsetDecoder;
      }
      namespace channels
      {
        class Channels;
        class WritableByteChannel;
        class ReadableByteChannel;
      }
    }
  }
}

class java::nio::channels::Channels : public ::java::lang::Object
{
public:
  static ::java::io::InputStream *newInputStream (::java::nio::channels::ReadableByteChannel *);
  static ::java::io::OutputStream *newOutputStream (::java::nio::channels::WritableByteChannel *);
  static ::java::nio::channels::ReadableByteChannel *newChannel (::java::io::InputStream *);
  static ::java::nio::channels::WritableByteChannel *newChannel (::java::io::OutputStream *);
  static ::java::io::Reader *newReader (::java::nio::channels::ReadableByteChannel *, ::java::nio::charset::CharsetDecoder *, jint);
  static ::java::io::Reader *newReader (::java::nio::channels::ReadableByteChannel *, ::java::lang::String *);
  static ::java::io::Writer *newWriter (::java::nio::channels::WritableByteChannel *, ::java::nio::charset::CharsetEncoder *, jint);
  static ::java::io::Writer *newWriter (::java::nio::channels::WritableByteChannel *, ::java::lang::String *);
  Channels ();

  static ::java::lang::Class class$;
};

#endif /* __java_nio_channels_Channels__ */
