summaryrefslogtreecommitdiff
path: root/libjava/java/nio/charset/Charset.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/nio/charset/Charset.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/nio/charset/Charset.h')
-rw-r--r--libjava/java/nio/charset/Charset.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/libjava/java/nio/charset/Charset.h b/libjava/java/nio/charset/Charset.h
new file mode 100644
index 000000000..dabf4671d
--- /dev/null
+++ b/libjava/java/nio/charset/Charset.h
@@ -0,0 +1,80 @@
+
+// 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__