OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [charset/] [Charset.h] - Rev 772

Go to most recent revision | Compare with Previous | Blame | View Log

 
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
 
#ifndef __java_nio_charset_Charset__
#define __java_nio_charset_Charset__
 
#pragma interface
 
#include <java/lang/Object.h>
#include <gcj/array.h>
 
extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
        class CharBuffer;
      namespace charset
      {
          class Charset;
          class CharsetDecoder;
          class CharsetEncoder;
        namespace spi
        {
            class CharsetProvider;
        }
      }
    }
  }
}
 
class java::nio::charset::Charset : public ::java::lang::Object
{
 
public: // actually protected
  Charset(::java::lang::String *, JArray< ::java::lang::String * > *);
private:
  static void checkName(::java::lang::String *);
public:
  static ::java::nio::charset::Charset * defaultCharset();
  static jboolean isSupported(::java::lang::String *);
  static ::java::nio::charset::Charset * forName(::java::lang::String *);
private:
  static ::java::nio::charset::Charset * charsetForName(::java::lang::String *);
public:
  static ::java::util::SortedMap * availableCharsets();
private:
  static ::java::nio::charset::spi::CharsetProvider * provider();
  static JArray< ::java::nio::charset::spi::CharsetProvider * > * providers2();
public:
  virtual ::java::lang::String * name();
  virtual ::java::util::Set * aliases();
  virtual ::java::lang::String * displayName();
  virtual ::java::lang::String * displayName(::java::util::Locale *);
  virtual jboolean isRegistered();
  virtual jboolean contains(::java::nio::charset::Charset *) = 0;
  virtual ::java::nio::charset::CharsetDecoder * newDecoder() = 0;
  virtual ::java::nio::charset::CharsetEncoder * newEncoder() = 0;
  virtual jboolean canEncode();
  virtual ::java::nio::ByteBuffer * encode(::java::nio::CharBuffer *);
  virtual ::java::nio::ByteBuffer * encode(::java::lang::String *);
  virtual ::java::nio::CharBuffer * decode(::java::nio::ByteBuffer *);
  virtual jint Charset$compareTo(::java::nio::charset::Charset *);
  virtual jint hashCode();
  virtual jboolean equals(::java::lang::Object *);
  virtual ::java::lang::String * toString();
  virtual jint compareTo(::java::lang::Object *);
private:
  ::java::nio::charset::CharsetEncoder * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cachedEncoder;
  ::java::nio::charset::CharsetDecoder * cachedDecoder;
  static JArray< ::java::nio::charset::spi::CharsetProvider * > * providers;
  ::java::lang::String * canonicalName;
  JArray< ::java::lang::String * > * aliases__;
public:
  static ::java::lang::Class class$;
};
 
#endif // __java_nio_charset_Charset__
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.