Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_Buffer__
|
||||
#define __java_nio_Buffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class Buffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::Buffer : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Buffer(jint, jint, jint, jint);
|
||||
public:
|
||||
virtual jint capacity();
|
||||
virtual ::java::nio::Buffer * clear();
|
||||
virtual ::java::nio::Buffer * flip();
|
||||
virtual jboolean hasRemaining();
|
||||
virtual jboolean isReadOnly() = 0;
|
||||
virtual jint limit();
|
||||
virtual ::java::nio::Buffer * limit(jint);
|
||||
virtual ::java::nio::Buffer * mark();
|
||||
virtual jint position();
|
||||
virtual ::java::nio::Buffer * position(jint);
|
||||
virtual jint remaining();
|
||||
virtual ::java::nio::Buffer * reset();
|
||||
virtual ::java::nio::Buffer * rewind();
|
||||
public: // actually package-private
|
||||
virtual void checkForUnderflow();
|
||||
virtual void checkForUnderflow(jint);
|
||||
virtual void checkForOverflow();
|
||||
virtual void checkForOverflow(jint);
|
||||
virtual void checkIndex(jint);
|
||||
virtual void checkIfReadOnly();
|
||||
static void checkArraySize(jint, jint, jint);
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) cap;
|
||||
jint limit__;
|
||||
jint pos;
|
||||
jint mark__;
|
||||
::gnu::gcj::RawData * address;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_Buffer__
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_BufferOverflowException__
|
||||
#define __java_nio_BufferOverflowException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/RuntimeException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class BufferOverflowException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::BufferOverflowException : public ::java::lang::RuntimeException
|
||||
{
|
||||
|
||||
public:
|
||||
BufferOverflowException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -5484897634319144535LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_BufferOverflowException__
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_BufferUnderflowException__
|
||||
#define __java_nio_BufferUnderflowException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/RuntimeException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class BufferUnderflowException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::BufferUnderflowException : public ::java::lang::RuntimeException
|
||||
{
|
||||
|
||||
public:
|
||||
BufferUnderflowException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -1713313658691622206LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_BufferUnderflowException__
|
||||
@@ -0,0 +1,105 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ByteBuffer__
|
||||
#define __java_nio_ByteBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class CharBuffer;
|
||||
class DoubleBuffer;
|
||||
class FloatBuffer;
|
||||
class IntBuffer;
|
||||
class LongBuffer;
|
||||
class ShortBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ByteBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ByteBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::ByteBuffer * allocateDirect(jint);
|
||||
static ::java::nio::ByteBuffer * allocate(jint);
|
||||
static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *, jint, jint);
|
||||
static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *);
|
||||
virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
|
||||
virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *);
|
||||
virtual ::java::nio::ByteBuffer * put(::java::nio::ByteBuffer *);
|
||||
virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
|
||||
virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jbyte > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::ByteBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order();
|
||||
virtual ::java::nio::ByteBuffer * order(::java::nio::ByteOrder *);
|
||||
virtual jbyte get() = 0;
|
||||
virtual ::java::nio::ByteBuffer * put(jbyte) = 0;
|
||||
virtual jbyte get(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * put(jint, jbyte) = 0;
|
||||
virtual ::java::nio::ByteBuffer * compact() = 0;
|
||||
public: // actually package-private
|
||||
virtual void shiftDown(jint, jint, jint);
|
||||
public:
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::ByteBuffer * slice() = 0;
|
||||
virtual ::java::nio::ByteBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::ByteBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual ::java::nio::ShortBuffer * asShortBuffer() = 0;
|
||||
virtual ::java::nio::CharBuffer * asCharBuffer() = 0;
|
||||
virtual ::java::nio::IntBuffer * asIntBuffer() = 0;
|
||||
virtual ::java::nio::LongBuffer * asLongBuffer() = 0;
|
||||
virtual ::java::nio::FloatBuffer * asFloatBuffer() = 0;
|
||||
virtual ::java::nio::DoubleBuffer * asDoubleBuffer() = 0;
|
||||
virtual jchar getChar() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putChar(jchar) = 0;
|
||||
virtual jchar getChar(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putChar(jint, jchar) = 0;
|
||||
virtual jshort getShort() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putShort(jshort) = 0;
|
||||
virtual jshort getShort(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putShort(jint, jshort) = 0;
|
||||
virtual jint getInt() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putInt(jint) = 0;
|
||||
virtual jint getInt(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putInt(jint, jint) = 0;
|
||||
virtual jlong getLong() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putLong(jlong) = 0;
|
||||
virtual jlong getLong(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putLong(jint, jlong) = 0;
|
||||
virtual jfloat getFloat() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putFloat(jfloat) = 0;
|
||||
virtual jfloat getFloat(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat) = 0;
|
||||
virtual jdouble getDouble() = 0;
|
||||
virtual ::java::nio::ByteBuffer * putDouble(jdouble) = 0;
|
||||
virtual jdouble getDouble(jint) = 0;
|
||||
virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble) = 0;
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
::java::nio::ByteOrder * __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) endian;
|
||||
jint array_offset;
|
||||
JArray< jbyte > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ByteBuffer__
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ByteBufferHelper__
|
||||
#define __java_nio_ByteBufferHelper__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteBufferHelper;
|
||||
class ByteOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ByteBufferHelper : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ByteBufferHelper();
|
||||
public:
|
||||
static jchar getChar(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putChar(::java::nio::ByteBuffer *, jchar, ::java::nio::ByteOrder *);
|
||||
static jchar getChar(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putChar(::java::nio::ByteBuffer *, jint, jchar, ::java::nio::ByteOrder *);
|
||||
static jshort getShort(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putShort(::java::nio::ByteBuffer *, jshort, ::java::nio::ByteOrder *);
|
||||
static jshort getShort(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putShort(::java::nio::ByteBuffer *, jint, jshort, ::java::nio::ByteOrder *);
|
||||
static jint getInt(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static jint getInt(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putInt(::java::nio::ByteBuffer *, jint, jint, ::java::nio::ByteOrder *);
|
||||
static jlong getLong(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putLong(::java::nio::ByteBuffer *, jlong, ::java::nio::ByteOrder *);
|
||||
static jlong getLong(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putLong(::java::nio::ByteBuffer *, jint, jlong, ::java::nio::ByteOrder *);
|
||||
static jfloat getFloat(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putFloat(::java::nio::ByteBuffer *, jfloat, ::java::nio::ByteOrder *);
|
||||
static jfloat getFloat(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putFloat(::java::nio::ByteBuffer *, jint, jfloat, ::java::nio::ByteOrder *);
|
||||
static jdouble getDouble(::java::nio::ByteBuffer *, ::java::nio::ByteOrder *);
|
||||
static void putDouble(::java::nio::ByteBuffer *, jdouble, ::java::nio::ByteOrder *);
|
||||
static jdouble getDouble(::java::nio::ByteBuffer *, jint, ::java::nio::ByteOrder *);
|
||||
static void putDouble(::java::nio::ByteBuffer *, jint, jdouble, ::java::nio::ByteOrder *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ByteBufferHelper__
|
||||
@@ -0,0 +1,87 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ByteBufferImpl__
|
||||
#define __java_nio_ByteBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/ByteBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteBufferImpl;
|
||||
class CharBuffer;
|
||||
class DoubleBuffer;
|
||||
class FloatBuffer;
|
||||
class IntBuffer;
|
||||
class LongBuffer;
|
||||
class ShortBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ByteBufferImpl : public ::java::nio::ByteBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ByteBufferImpl(JArray< jbyte > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
::java::nio::CharBuffer * asCharBuffer();
|
||||
::java::nio::ShortBuffer * asShortBuffer();
|
||||
::java::nio::IntBuffer * asIntBuffer();
|
||||
::java::nio::LongBuffer * asLongBuffer();
|
||||
::java::nio::FloatBuffer * asFloatBuffer();
|
||||
::java::nio::DoubleBuffer * asDoubleBuffer();
|
||||
jboolean isReadOnly();
|
||||
::java::nio::ByteBuffer * slice();
|
||||
::java::nio::ByteBuffer * duplicate();
|
||||
::java::nio::ByteBuffer * asReadOnlyBuffer();
|
||||
public: // actually package-private
|
||||
void shiftDown(jint, jint, jint);
|
||||
public:
|
||||
::java::nio::ByteBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jbyte get();
|
||||
::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
|
||||
::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
|
||||
::java::nio::ByteBuffer * put(jbyte);
|
||||
jbyte get(jint);
|
||||
::java::nio::ByteBuffer * put(jint, jbyte);
|
||||
jchar getChar();
|
||||
::java::nio::ByteBuffer * putChar(jchar);
|
||||
jchar getChar(jint);
|
||||
::java::nio::ByteBuffer * putChar(jint, jchar);
|
||||
jshort getShort();
|
||||
::java::nio::ByteBuffer * putShort(jshort);
|
||||
jshort getShort(jint);
|
||||
::java::nio::ByteBuffer * putShort(jint, jshort);
|
||||
jint getInt();
|
||||
::java::nio::ByteBuffer * putInt(jint);
|
||||
jint getInt(jint);
|
||||
::java::nio::ByteBuffer * putInt(jint, jint);
|
||||
jlong getLong();
|
||||
::java::nio::ByteBuffer * putLong(jlong);
|
||||
jlong getLong(jint);
|
||||
::java::nio::ByteBuffer * putLong(jint, jlong);
|
||||
jfloat getFloat();
|
||||
::java::nio::ByteBuffer * putFloat(jfloat);
|
||||
jfloat getFloat(jint);
|
||||
::java::nio::ByteBuffer * putFloat(jint, jfloat);
|
||||
jdouble getDouble();
|
||||
::java::nio::ByteBuffer * putDouble(jdouble);
|
||||
jdouble getDouble(jint);
|
||||
::java::nio::ByteBuffer * putDouble(jint, jdouble);
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ByteBufferImpl__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ByteOrder__
|
||||
#define __java_nio_ByteOrder__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ByteOrder : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
static ::java::nio::ByteOrder * nativeOrder();
|
||||
::java::lang::String * toString();
|
||||
private:
|
||||
ByteOrder();
|
||||
public:
|
||||
static ::java::nio::ByteOrder * BIG_ENDIAN;
|
||||
static ::java::nio::ByteOrder * LITTLE_ENDIAN;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ByteOrder__
|
||||
@@ -0,0 +1,77 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_CharBuffer__
|
||||
#define __java_nio_CharBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class CharBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::CharBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CharBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::CharBuffer * allocate(jint);
|
||||
static ::java::nio::CharBuffer * wrap(JArray< jchar > *, jint, jint);
|
||||
static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *);
|
||||
static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *, jint, jint);
|
||||
static ::java::nio::CharBuffer * wrap(JArray< jchar > *);
|
||||
virtual ::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
|
||||
virtual jint read(::java::nio::CharBuffer *);
|
||||
virtual ::java::nio::CharBuffer * get(JArray< jchar > *);
|
||||
virtual ::java::nio::CharBuffer * put(::java::nio::CharBuffer *);
|
||||
virtual ::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
|
||||
virtual ::java::nio::CharBuffer * put(JArray< jchar > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jchar > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::CharBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jchar get() = 0;
|
||||
virtual ::java::nio::CharBuffer * put(jchar) = 0;
|
||||
virtual jchar get(jint) = 0;
|
||||
virtual ::java::nio::CharBuffer * put(jint, jchar) = 0;
|
||||
virtual ::java::nio::CharBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::CharBuffer * slice() = 0;
|
||||
virtual ::java::nio::CharBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::CharBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jint length();
|
||||
virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
|
||||
virtual ::java::nio::CharBuffer * put(::java::lang::String *, jint, jint);
|
||||
virtual ::java::nio::CharBuffer * put(::java::lang::String *);
|
||||
virtual jchar charAt(jint);
|
||||
virtual ::java::nio::CharBuffer * target$append(jchar);
|
||||
virtual ::java::nio::CharBuffer * target$append(::java::lang::CharSequence *);
|
||||
virtual ::java::nio::CharBuffer * target$append(::java::lang::CharSequence *, jint, jint);
|
||||
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
|
||||
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
|
||||
virtual ::java::lang::Appendable * append(jchar);
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jchar > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_CharBuffer__
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_CharBufferImpl__
|
||||
#define __java_nio_CharBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/CharBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class CharBuffer;
|
||||
class CharBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::CharBufferImpl : public ::java::nio::CharBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CharBufferImpl(jint);
|
||||
CharBufferImpl(JArray< jchar > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
CharBufferImpl(::java::nio::CharBufferImpl *);
|
||||
jboolean isReadOnly();
|
||||
::java::nio::CharBuffer * slice();
|
||||
::java::nio::CharBuffer * duplicate();
|
||||
::java::nio::CharBuffer * asReadOnlyBuffer();
|
||||
::java::nio::CharBuffer * compact();
|
||||
jboolean isDirect();
|
||||
::java::lang::CharSequence * subSequence(jint, jint);
|
||||
jchar get();
|
||||
::java::nio::CharBuffer * put(jchar);
|
||||
jchar get(jint);
|
||||
::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
|
||||
::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
|
||||
::java::nio::CharBuffer * put(jint, jchar);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::CharBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_CharBufferImpl__
|
||||
@@ -0,0 +1,55 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_CharViewBufferImpl__
|
||||
#define __java_nio_CharViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/CharBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class CharBuffer;
|
||||
class CharViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::CharViewBufferImpl : public ::java::nio::CharBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CharViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
CharViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
virtual jchar get();
|
||||
virtual jchar get(jint);
|
||||
virtual ::java::nio::CharBuffer * put(jchar);
|
||||
virtual ::java::nio::CharBuffer * put(jint, jchar);
|
||||
virtual ::java::nio::CharBuffer * compact();
|
||||
virtual ::java::nio::CharBuffer * slice();
|
||||
public: // actually package-private
|
||||
virtual ::java::nio::CharBuffer * duplicate(jboolean);
|
||||
public:
|
||||
virtual ::java::nio::CharBuffer * duplicate();
|
||||
virtual ::java::nio::CharBuffer * asReadOnlyBuffer();
|
||||
virtual ::java::lang::CharSequence * subSequence(jint, jint);
|
||||
virtual jboolean isReadOnly();
|
||||
virtual jboolean isDirect();
|
||||
virtual ::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::CharBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_CharViewBufferImpl__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DirectByteBufferImpl$ReadOnly__
|
||||
#define __java_nio_DirectByteBufferImpl$ReadOnly__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/DirectByteBufferImpl.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class DirectByteBufferImpl$ReadOnly;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DirectByteBufferImpl$ReadOnly : public ::java::nio::DirectByteBufferImpl
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DirectByteBufferImpl$ReadOnly(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
|
||||
public:
|
||||
::java::nio::ByteBuffer * put(jbyte);
|
||||
::java::nio::ByteBuffer * put(jint, jbyte);
|
||||
jboolean isReadOnly();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DirectByteBufferImpl$ReadOnly__
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DirectByteBufferImpl$ReadWrite__
|
||||
#define __java_nio_DirectByteBufferImpl$ReadWrite__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/DirectByteBufferImpl.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class DirectByteBufferImpl$ReadWrite;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DirectByteBufferImpl$ReadWrite : public ::java::nio::DirectByteBufferImpl
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DirectByteBufferImpl$ReadWrite(jint);
|
||||
DirectByteBufferImpl$ReadWrite(::gnu::gcj::RawData *, jint);
|
||||
DirectByteBufferImpl$ReadWrite(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DirectByteBufferImpl$ReadWrite__
|
||||
@@ -0,0 +1,101 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DirectByteBufferImpl__
|
||||
#define __java_nio_DirectByteBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/ByteBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class CharBuffer;
|
||||
class DirectByteBufferImpl;
|
||||
class DoubleBuffer;
|
||||
class FloatBuffer;
|
||||
class IntBuffer;
|
||||
class LongBuffer;
|
||||
class ShortBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DirectByteBufferImpl : public ::java::nio::ByteBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DirectByteBufferImpl(jint);
|
||||
DirectByteBufferImpl(::gnu::gcj::RawData *, jint);
|
||||
DirectByteBufferImpl(::java::lang::Object *, ::gnu::gcj::RawData *, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::ByteBuffer * allocate(jint);
|
||||
public: // actually protected
|
||||
virtual void finalize();
|
||||
public:
|
||||
virtual jbyte get();
|
||||
virtual jbyte get(jint);
|
||||
virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
|
||||
virtual ::java::nio::ByteBuffer * put(jbyte);
|
||||
virtual ::java::nio::ByteBuffer * put(jint, jbyte);
|
||||
public: // actually package-private
|
||||
virtual void shiftDown(jint, jint, jint);
|
||||
public:
|
||||
virtual ::java::nio::ByteBuffer * compact();
|
||||
virtual ::java::nio::ByteBuffer * slice();
|
||||
private:
|
||||
::java::nio::ByteBuffer * duplicate(jboolean);
|
||||
public:
|
||||
virtual ::java::nio::ByteBuffer * duplicate();
|
||||
virtual ::java::nio::ByteBuffer * asReadOnlyBuffer();
|
||||
virtual jboolean isDirect();
|
||||
virtual ::java::nio::CharBuffer * asCharBuffer();
|
||||
virtual ::java::nio::ShortBuffer * asShortBuffer();
|
||||
virtual ::java::nio::IntBuffer * asIntBuffer();
|
||||
virtual ::java::nio::LongBuffer * asLongBuffer();
|
||||
virtual ::java::nio::FloatBuffer * asFloatBuffer();
|
||||
virtual ::java::nio::DoubleBuffer * asDoubleBuffer();
|
||||
virtual jchar getChar();
|
||||
virtual ::java::nio::ByteBuffer * putChar(jchar);
|
||||
virtual jchar getChar(jint);
|
||||
virtual ::java::nio::ByteBuffer * putChar(jint, jchar);
|
||||
virtual jshort getShort();
|
||||
virtual ::java::nio::ByteBuffer * putShort(jshort);
|
||||
virtual jshort getShort(jint);
|
||||
virtual ::java::nio::ByteBuffer * putShort(jint, jshort);
|
||||
virtual jint getInt();
|
||||
virtual ::java::nio::ByteBuffer * putInt(jint);
|
||||
virtual jint getInt(jint);
|
||||
virtual ::java::nio::ByteBuffer * putInt(jint, jint);
|
||||
virtual jlong getLong();
|
||||
virtual ::java::nio::ByteBuffer * putLong(jlong);
|
||||
virtual jlong getLong(jint);
|
||||
virtual ::java::nio::ByteBuffer * putLong(jint, jlong);
|
||||
virtual jfloat getFloat();
|
||||
virtual ::java::nio::ByteBuffer * putFloat(jfloat);
|
||||
virtual jfloat getFloat(jint);
|
||||
virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat);
|
||||
virtual jdouble getDouble();
|
||||
virtual ::java::nio::ByteBuffer * putDouble(jdouble);
|
||||
virtual jdouble getDouble(jint);
|
||||
virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble);
|
||||
private:
|
||||
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) owner;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DirectByteBufferImpl__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DoubleBuffer__
|
||||
#define __java_nio_DoubleBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class DoubleBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DoubleBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DoubleBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::DoubleBuffer * allocate(jint);
|
||||
static ::java::nio::DoubleBuffer * wrap(JArray< jdouble > *, jint, jint);
|
||||
static ::java::nio::DoubleBuffer * wrap(JArray< jdouble > *);
|
||||
virtual ::java::nio::DoubleBuffer * get(JArray< jdouble > *, jint, jint);
|
||||
virtual ::java::nio::DoubleBuffer * get(JArray< jdouble > *);
|
||||
virtual ::java::nio::DoubleBuffer * put(::java::nio::DoubleBuffer *);
|
||||
virtual ::java::nio::DoubleBuffer * put(JArray< jdouble > *, jint, jint);
|
||||
virtual ::java::nio::DoubleBuffer * put(JArray< jdouble > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jdouble > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::DoubleBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jdouble get() = 0;
|
||||
virtual ::java::nio::DoubleBuffer * put(jdouble) = 0;
|
||||
virtual jdouble get(jint) = 0;
|
||||
virtual ::java::nio::DoubleBuffer * put(jint, jdouble) = 0;
|
||||
virtual ::java::nio::DoubleBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::DoubleBuffer * slice() = 0;
|
||||
virtual ::java::nio::DoubleBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::DoubleBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jdouble > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DoubleBuffer__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DoubleBufferImpl__
|
||||
#define __java_nio_DoubleBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/DoubleBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class DoubleBuffer;
|
||||
class DoubleBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DoubleBufferImpl : public ::java::nio::DoubleBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DoubleBufferImpl(jint);
|
||||
DoubleBufferImpl(JArray< jdouble > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
::java::nio::DoubleBuffer * slice();
|
||||
::java::nio::DoubleBuffer * duplicate();
|
||||
::java::nio::DoubleBuffer * asReadOnlyBuffer();
|
||||
::java::nio::DoubleBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jdouble get();
|
||||
::java::nio::DoubleBuffer * put(jdouble);
|
||||
jdouble get(jint);
|
||||
::java::nio::DoubleBuffer * put(jint, jdouble);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::DoubleBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DoubleBufferImpl__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_DoubleViewBufferImpl__
|
||||
#define __java_nio_DoubleViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/DoubleBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class DoubleBuffer;
|
||||
class DoubleViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::DoubleViewBufferImpl : public ::java::nio::DoubleBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DoubleViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
DoubleViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
jdouble get();
|
||||
jdouble get(jint);
|
||||
::java::nio::DoubleBuffer * put(jdouble);
|
||||
::java::nio::DoubleBuffer * put(jint, jdouble);
|
||||
::java::nio::DoubleBuffer * compact();
|
||||
::java::nio::DoubleBuffer * slice();
|
||||
public: // actually package-private
|
||||
::java::nio::DoubleBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::DoubleBuffer * duplicate();
|
||||
::java::nio::DoubleBuffer * asReadOnlyBuffer();
|
||||
jboolean isReadOnly();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::DoubleBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_DoubleViewBufferImpl__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_FloatBuffer__
|
||||
#define __java_nio_FloatBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class FloatBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::FloatBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FloatBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::FloatBuffer * allocate(jint);
|
||||
static ::java::nio::FloatBuffer * wrap(JArray< jfloat > *, jint, jint);
|
||||
static ::java::nio::FloatBuffer * wrap(JArray< jfloat > *);
|
||||
virtual ::java::nio::FloatBuffer * get(JArray< jfloat > *, jint, jint);
|
||||
virtual ::java::nio::FloatBuffer * get(JArray< jfloat > *);
|
||||
virtual ::java::nio::FloatBuffer * put(::java::nio::FloatBuffer *);
|
||||
virtual ::java::nio::FloatBuffer * put(JArray< jfloat > *, jint, jint);
|
||||
virtual ::java::nio::FloatBuffer * put(JArray< jfloat > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jfloat > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::FloatBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jfloat get() = 0;
|
||||
virtual ::java::nio::FloatBuffer * put(jfloat) = 0;
|
||||
virtual jfloat get(jint) = 0;
|
||||
virtual ::java::nio::FloatBuffer * put(jint, jfloat) = 0;
|
||||
virtual ::java::nio::FloatBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::FloatBuffer * slice() = 0;
|
||||
virtual ::java::nio::FloatBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::FloatBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jfloat > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_FloatBuffer__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_FloatBufferImpl__
|
||||
#define __java_nio_FloatBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/FloatBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class FloatBuffer;
|
||||
class FloatBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::FloatBufferImpl : public ::java::nio::FloatBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FloatBufferImpl(jint);
|
||||
FloatBufferImpl(JArray< jfloat > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
::java::nio::FloatBuffer * slice();
|
||||
::java::nio::FloatBuffer * duplicate();
|
||||
::java::nio::FloatBuffer * asReadOnlyBuffer();
|
||||
::java::nio::FloatBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jfloat get();
|
||||
::java::nio::FloatBuffer * put(jfloat);
|
||||
jfloat get(jint);
|
||||
::java::nio::FloatBuffer * put(jint, jfloat);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::FloatBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_FloatBufferImpl__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_FloatViewBufferImpl__
|
||||
#define __java_nio_FloatViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/FloatBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class FloatBuffer;
|
||||
class FloatViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::FloatViewBufferImpl : public ::java::nio::FloatBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FloatViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
FloatViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
jfloat get();
|
||||
jfloat get(jint);
|
||||
::java::nio::FloatBuffer * put(jfloat);
|
||||
::java::nio::FloatBuffer * put(jint, jfloat);
|
||||
::java::nio::FloatBuffer * compact();
|
||||
::java::nio::FloatBuffer * slice();
|
||||
public: // actually package-private
|
||||
::java::nio::FloatBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::FloatBuffer * duplicate();
|
||||
::java::nio::FloatBuffer * asReadOnlyBuffer();
|
||||
jboolean isReadOnly();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::FloatBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_FloatViewBufferImpl__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_IntBuffer__
|
||||
#define __java_nio_IntBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class IntBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::IntBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
IntBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::IntBuffer * allocate(jint);
|
||||
static ::java::nio::IntBuffer * wrap(JArray< jint > *, jint, jint);
|
||||
static ::java::nio::IntBuffer * wrap(JArray< jint > *);
|
||||
virtual ::java::nio::IntBuffer * get(JArray< jint > *, jint, jint);
|
||||
virtual ::java::nio::IntBuffer * get(JArray< jint > *);
|
||||
virtual ::java::nio::IntBuffer * put(::java::nio::IntBuffer *);
|
||||
virtual ::java::nio::IntBuffer * put(JArray< jint > *, jint, jint);
|
||||
virtual ::java::nio::IntBuffer * put(JArray< jint > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jint > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::IntBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jint get() = 0;
|
||||
virtual ::java::nio::IntBuffer * put(jint) = 0;
|
||||
virtual jint get(jint) = 0;
|
||||
virtual ::java::nio::IntBuffer * put(jint, jint) = 0;
|
||||
virtual ::java::nio::IntBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::IntBuffer * slice() = 0;
|
||||
virtual ::java::nio::IntBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::IntBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jint > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_IntBuffer__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_IntBufferImpl__
|
||||
#define __java_nio_IntBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/IntBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class IntBuffer;
|
||||
class IntBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::IntBufferImpl : public ::java::nio::IntBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
IntBufferImpl(jint);
|
||||
IntBufferImpl(JArray< jint > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
::java::nio::IntBuffer * slice();
|
||||
::java::nio::IntBuffer * duplicate();
|
||||
::java::nio::IntBuffer * asReadOnlyBuffer();
|
||||
::java::nio::IntBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jint get();
|
||||
::java::nio::IntBuffer * put(jint);
|
||||
jint get(jint);
|
||||
::java::nio::IntBuffer * put(jint, jint);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::IntBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_IntBufferImpl__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_IntViewBufferImpl__
|
||||
#define __java_nio_IntViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/IntBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class IntBuffer;
|
||||
class IntViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::IntViewBufferImpl : public ::java::nio::IntBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
IntViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
IntViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
jint get();
|
||||
jint get(jint);
|
||||
::java::nio::IntBuffer * put(jint);
|
||||
::java::nio::IntBuffer * put(jint, jint);
|
||||
::java::nio::IntBuffer * compact();
|
||||
::java::nio::IntBuffer * slice();
|
||||
public: // actually package-private
|
||||
::java::nio::IntBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::IntBuffer * duplicate();
|
||||
::java::nio::IntBuffer * asReadOnlyBuffer();
|
||||
jboolean isReadOnly();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::IntBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_IntViewBufferImpl__
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_InvalidMarkException__
|
||||
#define __java_nio_InvalidMarkException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class InvalidMarkException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::InvalidMarkException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
InvalidMarkException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 1698329710438510774LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_InvalidMarkException__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_LongBuffer__
|
||||
#define __java_nio_LongBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class LongBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::LongBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
LongBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::LongBuffer * allocate(jint);
|
||||
static ::java::nio::LongBuffer * wrap(JArray< jlong > *, jint, jint);
|
||||
static ::java::nio::LongBuffer * wrap(JArray< jlong > *);
|
||||
virtual ::java::nio::LongBuffer * get(JArray< jlong > *, jint, jint);
|
||||
virtual ::java::nio::LongBuffer * get(JArray< jlong > *);
|
||||
virtual ::java::nio::LongBuffer * put(::java::nio::LongBuffer *);
|
||||
virtual ::java::nio::LongBuffer * put(JArray< jlong > *, jint, jint);
|
||||
virtual ::java::nio::LongBuffer * put(JArray< jlong > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jlong > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::LongBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jlong get() = 0;
|
||||
virtual ::java::nio::LongBuffer * put(jlong) = 0;
|
||||
virtual jlong get(jint) = 0;
|
||||
virtual ::java::nio::LongBuffer * put(jint, jlong) = 0;
|
||||
virtual ::java::nio::LongBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::LongBuffer * slice() = 0;
|
||||
virtual ::java::nio::LongBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::LongBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jlong > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_LongBuffer__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_LongBufferImpl__
|
||||
#define __java_nio_LongBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/LongBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class LongBuffer;
|
||||
class LongBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::LongBufferImpl : public ::java::nio::LongBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
LongBufferImpl(jint);
|
||||
LongBufferImpl(JArray< jlong > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
::java::nio::LongBuffer * slice();
|
||||
::java::nio::LongBuffer * duplicate();
|
||||
::java::nio::LongBuffer * asReadOnlyBuffer();
|
||||
::java::nio::LongBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jlong get();
|
||||
::java::nio::LongBuffer * put(jlong);
|
||||
jlong get(jint);
|
||||
::java::nio::LongBuffer * put(jint, jlong);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_LongBufferImpl__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_LongViewBufferImpl__
|
||||
#define __java_nio_LongViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/LongBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class LongBuffer;
|
||||
class LongViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::LongViewBufferImpl : public ::java::nio::LongBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
LongViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
LongViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
jlong get();
|
||||
jlong get(jint);
|
||||
::java::nio::LongBuffer * put(jlong);
|
||||
::java::nio::LongBuffer * put(jint, jlong);
|
||||
::java::nio::LongBuffer * compact();
|
||||
::java::nio::LongBuffer * slice();
|
||||
public: // actually package-private
|
||||
::java::nio::LongBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::LongBuffer * duplicate();
|
||||
::java::nio::LongBuffer * asReadOnlyBuffer();
|
||||
jboolean isReadOnly();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_LongViewBufferImpl__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_MappedByteBuffer__
|
||||
#define __java_nio_MappedByteBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/ByteBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class MappedByteBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::MappedByteBuffer : public ::java::nio::ByteBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
MappedByteBuffer(jint, jint, jint, jint);
|
||||
virtual void forceImpl();
|
||||
public:
|
||||
virtual ::java::nio::MappedByteBuffer * force();
|
||||
public: // actually package-private
|
||||
virtual jboolean isLoadedImpl();
|
||||
public:
|
||||
virtual jboolean isLoaded();
|
||||
public: // actually package-private
|
||||
virtual void loadImpl();
|
||||
public:
|
||||
virtual ::java::nio::MappedByteBuffer * load();
|
||||
public: // actually package-private
|
||||
virtual void unmapImpl();
|
||||
public:
|
||||
virtual void finalize();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_MappedByteBuffer__
|
||||
@@ -0,0 +1,98 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_MappedByteBufferImpl__
|
||||
#define __java_nio_MappedByteBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/MappedByteBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class CharBuffer;
|
||||
class DoubleBuffer;
|
||||
class FloatBuffer;
|
||||
class IntBuffer;
|
||||
class LongBuffer;
|
||||
class MappedByteBufferImpl;
|
||||
class ShortBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::MappedByteBufferImpl : public ::java::nio::MappedByteBuffer
|
||||
{
|
||||
|
||||
public:
|
||||
MappedByteBufferImpl(::gnu::gcj::RawData *, jint, jboolean);
|
||||
jboolean isReadOnly();
|
||||
jbyte get();
|
||||
::java::nio::ByteBuffer * put(jbyte);
|
||||
jbyte get(jint);
|
||||
::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
|
||||
::java::nio::ByteBuffer * put(jint, jbyte);
|
||||
::java::nio::ByteBuffer * compact();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteBuffer * slice();
|
||||
private:
|
||||
::java::nio::ByteBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::ByteBuffer * duplicate();
|
||||
::java::nio::ByteBuffer * asReadOnlyBuffer();
|
||||
::java::nio::CharBuffer * asCharBuffer();
|
||||
::java::nio::ShortBuffer * asShortBuffer();
|
||||
::java::nio::IntBuffer * asIntBuffer();
|
||||
::java::nio::LongBuffer * asLongBuffer();
|
||||
::java::nio::FloatBuffer * asFloatBuffer();
|
||||
::java::nio::DoubleBuffer * asDoubleBuffer();
|
||||
jchar getChar();
|
||||
::java::nio::ByteBuffer * putChar(jchar);
|
||||
jchar getChar(jint);
|
||||
::java::nio::ByteBuffer * putChar(jint, jchar);
|
||||
jshort getShort();
|
||||
::java::nio::ByteBuffer * putShort(jshort);
|
||||
jshort getShort(jint);
|
||||
::java::nio::ByteBuffer * putShort(jint, jshort);
|
||||
jint getInt();
|
||||
::java::nio::ByteBuffer * putInt(jint);
|
||||
jint getInt(jint);
|
||||
::java::nio::ByteBuffer * putInt(jint, jint);
|
||||
jlong getLong();
|
||||
::java::nio::ByteBuffer * putLong(jlong);
|
||||
jlong getLong(jint);
|
||||
::java::nio::ByteBuffer * putLong(jint, jlong);
|
||||
jfloat getFloat();
|
||||
::java::nio::ByteBuffer * putFloat(jfloat);
|
||||
jfloat getFloat(jint);
|
||||
::java::nio::ByteBuffer * putFloat(jint, jfloat);
|
||||
jdouble getDouble();
|
||||
::java::nio::ByteBuffer * putDouble(jdouble);
|
||||
jdouble getDouble(jint);
|
||||
::java::nio::ByteBuffer * putDouble(jint, jdouble);
|
||||
public: // actually package-private
|
||||
void unmapImpl();
|
||||
jboolean isLoadedImpl();
|
||||
void loadImpl();
|
||||
void forceImpl();
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::MappedByteBuffer)))) readOnly;
|
||||
public:
|
||||
::gnu::gcj::RawData * implPtr;
|
||||
jlong implLen;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_MappedByteBufferImpl__
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ReadOnlyBufferException__
|
||||
#define __java_nio_ReadOnlyBufferException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/UnsupportedOperationException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ReadOnlyBufferException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ReadOnlyBufferException : public ::java::lang::UnsupportedOperationException
|
||||
{
|
||||
|
||||
public:
|
||||
ReadOnlyBufferException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -1210063976496234090LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ReadOnlyBufferException__
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ShortBuffer__
|
||||
#define __java_nio_ShortBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/Buffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class ShortBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ShortBuffer : public ::java::nio::Buffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ShortBuffer(jint, jint, jint, jint);
|
||||
public:
|
||||
static ::java::nio::ShortBuffer * allocate(jint);
|
||||
static ::java::nio::ShortBuffer * wrap(JArray< jshort > *, jint, jint);
|
||||
static ::java::nio::ShortBuffer * wrap(JArray< jshort > *);
|
||||
virtual ::java::nio::ShortBuffer * get(JArray< jshort > *, jint, jint);
|
||||
virtual ::java::nio::ShortBuffer * get(JArray< jshort > *);
|
||||
virtual ::java::nio::ShortBuffer * put(::java::nio::ShortBuffer *);
|
||||
virtual ::java::nio::ShortBuffer * put(JArray< jshort > *, jint, jint);
|
||||
virtual ::java::nio::ShortBuffer * put(JArray< jshort > *);
|
||||
virtual jboolean hasArray();
|
||||
virtual JArray< jshort > * array();
|
||||
virtual jint arrayOffset();
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual jint target$compareTo(::java::nio::ShortBuffer *);
|
||||
virtual ::java::nio::ByteOrder * order() = 0;
|
||||
virtual jshort get() = 0;
|
||||
virtual ::java::nio::ShortBuffer * put(jshort) = 0;
|
||||
virtual jshort get(jint) = 0;
|
||||
virtual ::java::nio::ShortBuffer * put(jint, jshort) = 0;
|
||||
virtual ::java::nio::ShortBuffer * compact() = 0;
|
||||
virtual jboolean isDirect() = 0;
|
||||
virtual ::java::nio::ShortBuffer * slice() = 0;
|
||||
virtual ::java::nio::ShortBuffer * duplicate() = 0;
|
||||
virtual ::java::nio::ShortBuffer * asReadOnlyBuffer() = 0;
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
||||
JArray< jshort > * backing_buffer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ShortBuffer__
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ShortBufferImpl__
|
||||
#define __java_nio_ShortBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/ShortBuffer.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteOrder;
|
||||
class ShortBuffer;
|
||||
class ShortBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ShortBufferImpl : public ::java::nio::ShortBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ShortBufferImpl(jint);
|
||||
ShortBufferImpl(JArray< jshort > *, jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
jboolean isReadOnly();
|
||||
::java::nio::ShortBuffer * slice();
|
||||
::java::nio::ShortBuffer * duplicate();
|
||||
::java::nio::ShortBuffer * asReadOnlyBuffer();
|
||||
::java::nio::ShortBuffer * compact();
|
||||
jboolean isDirect();
|
||||
jshort get();
|
||||
::java::nio::ShortBuffer * put(jshort);
|
||||
jshort get(jint);
|
||||
::java::nio::ShortBuffer * put(jint, jshort);
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) readOnly;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ShortBufferImpl__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_ShortViewBufferImpl__
|
||||
#define __java_nio_ShortViewBufferImpl__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/ShortBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class ByteOrder;
|
||||
class ShortBuffer;
|
||||
class ShortViewBufferImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::ShortViewBufferImpl : public ::java::nio::ShortBuffer
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ShortViewBufferImpl(::java::nio::ByteBuffer *, jint);
|
||||
public:
|
||||
ShortViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
|
||||
jshort get();
|
||||
jshort get(jint);
|
||||
::java::nio::ShortBuffer * put(jshort);
|
||||
::java::nio::ShortBuffer * put(jint, jshort);
|
||||
::java::nio::ShortBuffer * compact();
|
||||
::java::nio::ShortBuffer * slice();
|
||||
public: // actually package-private
|
||||
::java::nio::ShortBuffer * duplicate(jboolean);
|
||||
public:
|
||||
::java::nio::ShortBuffer * duplicate();
|
||||
::java::nio::ShortBuffer * asReadOnlyBuffer();
|
||||
jboolean isReadOnly();
|
||||
jboolean isDirect();
|
||||
::java::nio::ByteOrder * order();
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) offset;
|
||||
::java::nio::ByteBuffer * bb;
|
||||
jboolean readOnly;
|
||||
::java::nio::ByteOrder * endian;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_ShortViewBufferImpl__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_VMDirectByteBuffer__
|
||||
#define __java_nio_VMDirectByteBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace gcj
|
||||
{
|
||||
class RawData;
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class VMDirectByteBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::VMDirectByteBuffer : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
VMDirectByteBuffer();
|
||||
static ::gnu::gcj::RawData * allocate(jint);
|
||||
static void free(::gnu::gcj::RawData *);
|
||||
static jbyte get(::gnu::gcj::RawData *, jint);
|
||||
static void get(::gnu::gcj::RawData *, jint, JArray< jbyte > *, jint, jint);
|
||||
static void put(::gnu::gcj::RawData *, jint, jbyte);
|
||||
static ::gnu::gcj::RawData * adjustAddress(::gnu::gcj::RawData *, jint);
|
||||
static void shiftDown(::gnu::gcj::RawData *, jint, jint, jint);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_VMDirectByteBuffer__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_AlreadyConnectedException__
|
||||
#define __java_nio_channels_AlreadyConnectedException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class AlreadyConnectedException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::AlreadyConnectedException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
AlreadyConnectedException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -7331895245053773357LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_AlreadyConnectedException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_AsynchronousCloseException__
|
||||
#define __java_nio_channels_AsynchronousCloseException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/ClosedChannelException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class AsynchronousCloseException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::AsynchronousCloseException : public ::java::nio::channels::ClosedChannelException
|
||||
{
|
||||
|
||||
public:
|
||||
AsynchronousCloseException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 6891178312432313966LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_AsynchronousCloseException__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ByteChannel__
|
||||
#define __java_nio_channels_ByteChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class ByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ByteChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_ByteChannel__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_CancelledKeyException__
|
||||
#define __java_nio_channels_CancelledKeyException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class CancelledKeyException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::CancelledKeyException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
CancelledKeyException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -8438032138028814268LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_CancelledKeyException__
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_Channel__
|
||||
#define __java_nio_channels_Channel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class Channel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Channel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_Channel__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// 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 channels
|
||||
{
|
||||
class Channels;
|
||||
class ReadableByteChannel;
|
||||
class WritableByteChannel;
|
||||
}
|
||||
namespace charset
|
||||
{
|
||||
class CharsetDecoder;
|
||||
class CharsetEncoder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Channels : public ::java::lang::Object
|
||||
{
|
||||
|
||||
Channels();
|
||||
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 *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_Channels__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ClosedByInterruptException__
|
||||
#define __java_nio_channels_ClosedByInterruptException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/AsynchronousCloseException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ClosedByInterruptException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ClosedByInterruptException : public ::java::nio::channels::AsynchronousCloseException
|
||||
{
|
||||
|
||||
public:
|
||||
ClosedByInterruptException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -4488191543534286750LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_ClosedByInterruptException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ClosedChannelException__
|
||||
#define __java_nio_channels_ClosedChannelException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/IOException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ClosedChannelException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ClosedChannelException : public ::java::io::IOException
|
||||
{
|
||||
|
||||
public:
|
||||
ClosedChannelException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 882777185433553857LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_ClosedChannelException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ClosedSelectorException__
|
||||
#define __java_nio_channels_ClosedSelectorException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ClosedSelectorException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ClosedSelectorException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
ClosedSelectorException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 6466297122317847835LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_ClosedSelectorException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ConnectionPendingException__
|
||||
#define __java_nio_channels_ConnectionPendingException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ConnectionPendingException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ConnectionPendingException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
ConnectionPendingException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 2008393366501760879LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_ConnectionPendingException__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_DatagramChannel__
|
||||
#define __java_nio_channels_DatagramChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class DatagramSocket;
|
||||
class SocketAddress;
|
||||
}
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class DatagramChannel;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::DatagramChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
DatagramChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
static ::java::nio::channels::DatagramChannel * open();
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual ::java::nio::channels::DatagramChannel * connect(::java::net::SocketAddress *) = 0;
|
||||
virtual ::java::nio::channels::DatagramChannel * disconnect() = 0;
|
||||
virtual jboolean isConnected() = 0;
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual ::java::net::SocketAddress * receive(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jint send(::java::nio::ByteBuffer *, ::java::net::SocketAddress *) = 0;
|
||||
virtual ::java::net::DatagramSocket * socket() = 0;
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jint validOps();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_DatagramChannel__
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_FileChannel$MapMode__
|
||||
#define __java_nio_channels_FileChannel$MapMode__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class FileChannel$MapMode;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::FileChannel$MapMode : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FileChannel$MapMode(jint);
|
||||
public:
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) m;
|
||||
public:
|
||||
static ::java::nio::channels::FileChannel$MapMode * READ_ONLY;
|
||||
static ::java::nio::channels::FileChannel$MapMode * READ_WRITE;
|
||||
static ::java::nio::channels::FileChannel$MapMode * PRIVATE;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_FileChannel$MapMode__
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_FileChannel__
|
||||
#define __java_nio_channels_FileChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractInterruptibleChannel.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class MappedByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class FileChannel;
|
||||
class FileChannel$MapMode;
|
||||
class FileLock;
|
||||
class ReadableByteChannel;
|
||||
class WritableByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::FileChannel : public ::java::nio::channels::spi::AbstractInterruptibleChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
FileChannel();
|
||||
public:
|
||||
virtual ::java::nio::MappedByteBuffer * map(::java::nio::channels::FileChannel$MapMode *, jlong, jlong) = 0;
|
||||
virtual jlong size() = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jint write(::java::nio::ByteBuffer *, jlong) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jint read(::java::nio::ByteBuffer *, jlong) = 0;
|
||||
public: // actually protected
|
||||
virtual void implCloseChannel() = 0;
|
||||
public:
|
||||
virtual void force(jboolean) = 0;
|
||||
virtual ::java::nio::channels::FileLock * lock();
|
||||
virtual ::java::nio::channels::FileLock * lock(jlong, jlong, jboolean) = 0;
|
||||
virtual ::java::nio::channels::FileLock * tryLock();
|
||||
virtual ::java::nio::channels::FileLock * tryLock(jlong, jlong, jboolean) = 0;
|
||||
virtual jlong position() = 0;
|
||||
virtual ::java::nio::channels::FileChannel * position(jlong) = 0;
|
||||
virtual jlong transferTo(jlong, jlong, ::java::nio::channels::WritableByteChannel *) = 0;
|
||||
virtual jlong transferFrom(::java::nio::channels::ReadableByteChannel *, jlong, jlong) = 0;
|
||||
virtual ::java::nio::channels::FileChannel * truncate(jlong) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_FileChannel__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_FileLock__
|
||||
#define __java_nio_channels_FileLock__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class FileChannel;
|
||||
class FileLock;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::FileLock : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
FileLock(::java::nio::channels::FileChannel *, jlong, jlong, jboolean);
|
||||
public:
|
||||
virtual jboolean isValid() = 0;
|
||||
virtual void release() = 0;
|
||||
virtual ::java::nio::channels::FileChannel * channel();
|
||||
virtual jboolean isShared();
|
||||
virtual jboolean overlaps(jlong, jlong);
|
||||
virtual jlong position();
|
||||
virtual jlong size();
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
::java::nio::channels::FileChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel__;
|
||||
jlong position__;
|
||||
jlong size__;
|
||||
jboolean shared;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_FileLock__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_FileLockInterruptionException__
|
||||
#define __java_nio_channels_FileLockInterruptionException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/IOException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class FileLockInterruptionException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::FileLockInterruptionException : public ::java::io::IOException
|
||||
{
|
||||
|
||||
public:
|
||||
FileLockInterruptionException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 7104080643653532383LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_FileLockInterruptionException__
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_GatheringByteChannel__
|
||||
#define __java_nio_channels_GatheringByteChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class GatheringByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::GatheringByteChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *) = 0;
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_GatheringByteChannel__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_IllegalBlockingModeException__
|
||||
#define __java_nio_channels_IllegalBlockingModeException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class IllegalBlockingModeException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::IllegalBlockingModeException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
IllegalBlockingModeException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -3335774961855590474LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_IllegalBlockingModeException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_IllegalSelectorException__
|
||||
#define __java_nio_channels_IllegalSelectorException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalArgumentException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class IllegalSelectorException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::IllegalSelectorException : public ::java::lang::IllegalArgumentException
|
||||
{
|
||||
|
||||
public:
|
||||
IllegalSelectorException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -8406323347253320987LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_IllegalSelectorException__
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_InterruptibleChannel__
|
||||
#define __java_nio_channels_InterruptibleChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class InterruptibleChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::InterruptibleChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual void close() = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_InterruptibleChannel__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_NoConnectionPendingException__
|
||||
#define __java_nio_channels_NoConnectionPendingException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class NoConnectionPendingException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::NoConnectionPendingException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
NoConnectionPendingException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -8296561183633134743LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_NoConnectionPendingException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_NonReadableChannelException__
|
||||
#define __java_nio_channels_NonReadableChannelException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class NonReadableChannelException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::NonReadableChannelException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
NonReadableChannelException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -3200915679294993514LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_NonReadableChannelException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_NonWritableChannelException__
|
||||
#define __java_nio_channels_NonWritableChannelException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class NonWritableChannelException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::NonWritableChannelException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
NonWritableChannelException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -7071230488279011621LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_NonWritableChannelException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_NotYetBoundException__
|
||||
#define __java_nio_channels_NotYetBoundException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class NotYetBoundException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::NotYetBoundException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
NotYetBoundException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 4640999303950202242LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_NotYetBoundException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_NotYetConnectedException__
|
||||
#define __java_nio_channels_NotYetConnectedException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class NotYetConnectedException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::NotYetConnectedException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
NotYetConnectedException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 4697316551909513464LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_NotYetConnectedException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_OverlappingFileLockException__
|
||||
#define __java_nio_channels_OverlappingFileLockException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalStateException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class OverlappingFileLockException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::OverlappingFileLockException : public ::java::lang::IllegalStateException
|
||||
{
|
||||
|
||||
public:
|
||||
OverlappingFileLockException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 2047812138163068433LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_OverlappingFileLockException__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_Pipe$SinkChannel__
|
||||
#define __java_nio_channels_Pipe$SinkChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class Pipe$SinkChannel;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Pipe$SinkChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
Pipe$SinkChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
virtual jint validOps();
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_Pipe$SinkChannel__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_Pipe$SourceChannel__
|
||||
#define __java_nio_channels_Pipe$SourceChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class Pipe$SourceChannel;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Pipe$SourceChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
Pipe$SourceChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
virtual jint validOps();
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_Pipe$SourceChannel__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_Pipe__
|
||||
#define __java_nio_channels_Pipe__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class Pipe;
|
||||
class Pipe$SinkChannel;
|
||||
class Pipe$SourceChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Pipe : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
Pipe();
|
||||
public:
|
||||
static ::java::nio::channels::Pipe * open();
|
||||
virtual ::java::nio::channels::Pipe$SinkChannel * sink() = 0;
|
||||
virtual ::java::nio::channels::Pipe$SourceChannel * source() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_Pipe__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ReadableByteChannel__
|
||||
#define __java_nio_channels_ReadableByteChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class ReadableByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ReadableByteChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_ReadableByteChannel__
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ScatteringByteChannel__
|
||||
#define __java_nio_channels_ScatteringByteChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class ScatteringByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ScatteringByteChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *) = 0;
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_ScatteringByteChannel__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_SelectableChannel__
|
||||
#define __java_nio_channels_SelectableChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractInterruptibleChannel.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class SelectableChannel;
|
||||
class SelectionKey;
|
||||
class Selector;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::SelectableChannel : public ::java::nio::channels::spi::AbstractInterruptibleChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SelectableChannel();
|
||||
public:
|
||||
virtual ::java::lang::Object * blockingLock() = 0;
|
||||
virtual ::java::nio::channels::SelectableChannel * configureBlocking(jboolean) = 0;
|
||||
virtual jboolean isBlocking() = 0;
|
||||
virtual jboolean isRegistered() = 0;
|
||||
virtual ::java::nio::channels::SelectionKey * keyFor(::java::nio::channels::Selector *) = 0;
|
||||
virtual ::java::nio::channels::spi::SelectorProvider * provider() = 0;
|
||||
virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint);
|
||||
virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint, ::java::lang::Object *) = 0;
|
||||
virtual jint validOps() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_SelectableChannel__
|
||||
@@ -0,0 +1,55 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_SelectionKey__
|
||||
#define __java_nio_channels_SelectionKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class SelectableChannel;
|
||||
class SelectionKey;
|
||||
class Selector;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::SelectionKey : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SelectionKey();
|
||||
public:
|
||||
virtual ::java::lang::Object * attach(::java::lang::Object *);
|
||||
virtual ::java::lang::Object * attachment();
|
||||
virtual jboolean isAcceptable();
|
||||
virtual jboolean isConnectable();
|
||||
virtual jboolean isReadable();
|
||||
virtual jboolean isWritable();
|
||||
virtual void cancel() = 0;
|
||||
virtual ::java::nio::channels::SelectableChannel * channel() = 0;
|
||||
virtual jint interestOps() = 0;
|
||||
virtual ::java::nio::channels::SelectionKey * interestOps(jint) = 0;
|
||||
virtual jboolean isValid() = 0;
|
||||
virtual jint readyOps() = 0;
|
||||
virtual ::java::nio::channels::Selector * selector() = 0;
|
||||
static const jint OP_ACCEPT = 16;
|
||||
static const jint OP_CONNECT = 8;
|
||||
static const jint OP_READ = 1;
|
||||
static const jint OP_WRITE = 4;
|
||||
public: // actually package-private
|
||||
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attached;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_SelectionKey__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_Selector__
|
||||
#define __java_nio_channels_Selector__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class Selector;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::Selector : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
Selector();
|
||||
public:
|
||||
static ::java::nio::channels::Selector * open();
|
||||
virtual void close() = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual ::java::util::Set * keys() = 0;
|
||||
virtual ::java::nio::channels::spi::SelectorProvider * provider() = 0;
|
||||
virtual jint select() = 0;
|
||||
virtual jint select(jlong) = 0;
|
||||
virtual ::java::util::Set * selectedKeys() = 0;
|
||||
virtual jint selectNow() = 0;
|
||||
virtual ::java::nio::channels::Selector * wakeup() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_Selector__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_ServerSocketChannel__
|
||||
#define __java_nio_channels_ServerSocketChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class ServerSocket;
|
||||
}
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ServerSocketChannel;
|
||||
class SocketChannel;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::ServerSocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
ServerSocketChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
virtual ::java::nio::channels::SocketChannel * accept() = 0;
|
||||
virtual ::java::net::ServerSocket * socket() = 0;
|
||||
static ::java::nio::channels::ServerSocketChannel * open();
|
||||
virtual jint validOps();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_ServerSocketChannel__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_SocketChannel__
|
||||
#define __java_nio_channels_SocketChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/spi/AbstractSelectableChannel.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class Socket;
|
||||
class SocketAddress;
|
||||
}
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class SocketChannel;
|
||||
namespace spi
|
||||
{
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::SocketChannel : public ::java::nio::channels::spi::AbstractSelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SocketChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
static ::java::nio::channels::SocketChannel * open();
|
||||
static ::java::nio::channels::SocketChannel * open(::java::net::SocketAddress *);
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *);
|
||||
virtual jint validOps();
|
||||
virtual jint read(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean connect(::java::net::SocketAddress *) = 0;
|
||||
virtual jboolean finishConnect() = 0;
|
||||
virtual jboolean isConnected() = 0;
|
||||
virtual jboolean isConnectionPending() = 0;
|
||||
virtual jlong read(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
virtual ::java::net::Socket * socket() = 0;
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jlong write(JArray< ::java::nio::ByteBuffer * > *, jint, jint) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_SocketChannel__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_UnresolvedAddressException__
|
||||
#define __java_nio_channels_UnresolvedAddressException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalArgumentException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class UnresolvedAddressException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::UnresolvedAddressException : public ::java::lang::IllegalArgumentException
|
||||
{
|
||||
|
||||
public:
|
||||
UnresolvedAddressException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 6136959093620794148LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_UnresolvedAddressException__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_UnsupportedAddressTypeException__
|
||||
#define __java_nio_channels_UnsupportedAddressTypeException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalArgumentException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class UnsupportedAddressTypeException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::UnsupportedAddressTypeException : public ::java::lang::IllegalArgumentException
|
||||
{
|
||||
|
||||
public:
|
||||
UnsupportedAddressTypeException();
|
||||
private:
|
||||
static const jlong serialVersionUID = -2964323842829700493LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_UnsupportedAddressTypeException__
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_VMChannels__
|
||||
#define __java_nio_channels_VMChannels__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class FileChannelImpl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class ReadableByteChannel;
|
||||
class VMChannels;
|
||||
class WritableByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::VMChannels : public ::java::lang::Object
|
||||
{
|
||||
|
||||
VMChannels();
|
||||
public: // actually package-private
|
||||
static ::java::io::FileInputStream * newInputStream(::gnu::java::nio::channels::FileChannelImpl *);
|
||||
static ::java::io::FileOutputStream * newOutputStream(::gnu::java::nio::channels::FileChannelImpl *);
|
||||
static ::java::io::InputStream * newInputStream(::java::nio::channels::ReadableByteChannel *);
|
||||
static ::java::io::OutputStream * newOutputStream(::java::nio::channels::WritableByteChannel *);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_VMChannels__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_WritableByteChannel__
|
||||
#define __java_nio_channels_WritableByteChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
namespace channels
|
||||
{
|
||||
class WritableByteChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::WritableByteChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual jint write(::java::nio::ByteBuffer *) = 0;
|
||||
virtual jboolean isOpen() = 0;
|
||||
virtual void close() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __java_nio_channels_WritableByteChannel__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_spi_AbstractInterruptibleChannel__
|
||||
#define __java_nio_channels_spi_AbstractInterruptibleChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
namespace spi
|
||||
{
|
||||
class AbstractInterruptibleChannel;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::spi::AbstractInterruptibleChannel : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
AbstractInterruptibleChannel();
|
||||
virtual void begin();
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually protected
|
||||
virtual void end(jboolean);
|
||||
virtual void implCloseChannel() = 0;
|
||||
public:
|
||||
virtual jboolean isOpen();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) closed;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_spi_AbstractInterruptibleChannel__
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_spi_AbstractSelectableChannel__
|
||||
#define __java_nio_channels_spi_AbstractSelectableChannel__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/SelectableChannel.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class SelectableChannel;
|
||||
class SelectionKey;
|
||||
class Selector;
|
||||
namespace spi
|
||||
{
|
||||
class AbstractSelectableChannel;
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::spi::AbstractSelectableChannel : public ::java::nio::channels::SelectableChannel
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
AbstractSelectableChannel(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
virtual ::java::lang::Object * blockingLock();
|
||||
virtual ::java::nio::channels::SelectableChannel * configureBlocking(jboolean);
|
||||
public: // actually protected
|
||||
virtual void implCloseChannel();
|
||||
virtual void implCloseSelectableChannel() = 0;
|
||||
virtual void implConfigureBlocking(jboolean) = 0;
|
||||
public:
|
||||
virtual jboolean isBlocking();
|
||||
virtual jboolean isRegistered();
|
||||
virtual ::java::nio::channels::SelectionKey * keyFor(::java::nio::channels::Selector *);
|
||||
virtual ::java::nio::channels::spi::SelectorProvider * provider();
|
||||
private:
|
||||
::java::nio::channels::SelectionKey * locate(::java::nio::channels::Selector *);
|
||||
public:
|
||||
virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::Selector *, jint, ::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
virtual void addSelectionKey(::java::nio::channels::SelectionKey *);
|
||||
virtual void removeSelectionKey(::java::nio::channels::SelectionKey *);
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::SelectableChannel)))) blocking;
|
||||
::java::lang::Object * LOCK;
|
||||
::java::nio::channels::spi::SelectorProvider * provider__;
|
||||
::java::util::LinkedList * keys;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_spi_AbstractSelectableChannel__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_spi_AbstractSelectionKey__
|
||||
#define __java_nio_channels_spi_AbstractSelectionKey__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/SelectionKey.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
namespace spi
|
||||
{
|
||||
class AbstractSelectionKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::spi::AbstractSelectionKey : public ::java::nio::channels::SelectionKey
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
AbstractSelectionKey();
|
||||
public:
|
||||
virtual void cancel();
|
||||
virtual jboolean isValid();
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::SelectionKey)))) cancelled;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_spi_AbstractSelectionKey__
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_spi_AbstractSelector__
|
||||
#define __java_nio_channels_spi_AbstractSelector__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/channels/Selector.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class SelectionKey;
|
||||
namespace spi
|
||||
{
|
||||
class AbstractSelectableChannel;
|
||||
class AbstractSelectionKey;
|
||||
class AbstractSelector;
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::spi::AbstractSelector : public ::java::nio::channels::Selector
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
AbstractSelector(::java::nio::channels::spi::SelectorProvider *);
|
||||
public:
|
||||
virtual void close();
|
||||
virtual jboolean isOpen();
|
||||
public: // actually protected
|
||||
virtual void begin();
|
||||
virtual void end();
|
||||
public:
|
||||
virtual ::java::nio::channels::spi::SelectorProvider * provider();
|
||||
public: // actually protected
|
||||
virtual ::java::util::Set * cancelledKeys();
|
||||
public: // actually package-private
|
||||
virtual void cancelKey(::java::nio::channels::spi::AbstractSelectionKey *);
|
||||
public: // actually protected
|
||||
virtual void implCloseSelector() = 0;
|
||||
virtual ::java::nio::channels::SelectionKey * register$(::java::nio::channels::spi::AbstractSelectableChannel *, jint, ::java::lang::Object *) = 0;
|
||||
virtual void deregister(::java::nio::channels::spi::AbstractSelectionKey *);
|
||||
private:
|
||||
jboolean __attribute__((aligned(__alignof__( ::java::nio::channels::Selector)))) closed;
|
||||
::java::nio::channels::spi::SelectorProvider * provider__;
|
||||
::java::util::HashSet * cancelledKeys__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_spi_AbstractSelector__
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_channels_spi_SelectorProvider__
|
||||
#define __java_nio_channels_spi_SelectorProvider__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace channels
|
||||
{
|
||||
class DatagramChannel;
|
||||
class Pipe;
|
||||
class ServerSocketChannel;
|
||||
class SocketChannel;
|
||||
namespace spi
|
||||
{
|
||||
class AbstractSelector;
|
||||
class SelectorProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::channels::spi::SelectorProvider : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
SelectorProvider();
|
||||
public:
|
||||
virtual ::java::nio::channels::DatagramChannel * openDatagramChannel() = 0;
|
||||
virtual ::java::nio::channels::Pipe * openPipe() = 0;
|
||||
virtual ::java::nio::channels::spi::AbstractSelector * openSelector() = 0;
|
||||
virtual ::java::nio::channels::ServerSocketChannel * openServerSocketChannel() = 0;
|
||||
virtual ::java::nio::channels::SocketChannel * openSocketChannel() = 0;
|
||||
static ::java::nio::channels::spi::SelectorProvider * provider();
|
||||
private:
|
||||
static ::java::nio::channels::spi::SelectorProvider * systemDefaultProvider;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_channels_spi_SelectorProvider__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CharacterCodingException__
|
||||
#define __java_nio_charset_CharacterCodingException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/IOException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CharacterCodingException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CharacterCodingException : public ::java::io::IOException
|
||||
{
|
||||
|
||||
public:
|
||||
CharacterCodingException();
|
||||
private:
|
||||
static const jlong serialVersionUID = 8421532232154627783LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CharacterCodingException__
|
||||
@@ -0,0 +1,79 @@
|
||||
|
||||
// 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 compareTo(::java::lang::Object *);
|
||||
virtual jint hashCode();
|
||||
virtual jboolean equals(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
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__
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CharsetDecoder__
|
||||
#define __java_nio_charset_CharsetDecoder__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
class CharBuffer;
|
||||
namespace charset
|
||||
{
|
||||
class Charset;
|
||||
class CharsetDecoder;
|
||||
class CoderResult;
|
||||
class CodingErrorAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CharsetDecoder : public ::java::lang::Object
|
||||
{
|
||||
|
||||
CharsetDecoder(::java::nio::charset::Charset *, jfloat, jfloat, ::java::lang::String *);
|
||||
public: // actually protected
|
||||
CharsetDecoder(::java::nio::charset::Charset *, jfloat, jfloat);
|
||||
public:
|
||||
virtual jfloat averageCharsPerByte();
|
||||
virtual ::java::nio::charset::Charset * charset();
|
||||
virtual ::java::nio::CharBuffer * decode(::java::nio::ByteBuffer *);
|
||||
virtual ::java::nio::charset::CoderResult * decode(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *, jboolean);
|
||||
public: // actually protected
|
||||
virtual ::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *) = 0;
|
||||
public:
|
||||
virtual ::java::nio::charset::Charset * detectedCharset();
|
||||
virtual ::java::nio::charset::CoderResult * flush(::java::nio::CharBuffer *);
|
||||
public: // actually protected
|
||||
virtual ::java::nio::charset::CoderResult * implFlush(::java::nio::CharBuffer *);
|
||||
public:
|
||||
virtual ::java::nio::charset::CharsetDecoder * onMalformedInput(::java::nio::charset::CodingErrorAction *);
|
||||
public: // actually protected
|
||||
virtual void implOnMalformedInput(::java::nio::charset::CodingErrorAction *);
|
||||
virtual void implOnUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
|
||||
virtual void implReplaceWith(::java::lang::String *);
|
||||
virtual void implReset();
|
||||
public:
|
||||
virtual jboolean isAutoDetecting();
|
||||
virtual jboolean isCharsetDetected();
|
||||
virtual ::java::nio::charset::CodingErrorAction * malformedInputAction();
|
||||
virtual jfloat maxCharsPerByte();
|
||||
virtual ::java::nio::charset::CharsetDecoder * onUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
|
||||
virtual ::java::lang::String * replacement();
|
||||
virtual ::java::nio::charset::CharsetDecoder * replaceWith(::java::lang::String *);
|
||||
virtual ::java::nio::charset::CharsetDecoder * reset();
|
||||
virtual ::java::nio::charset::CodingErrorAction * unmappableCharacterAction();
|
||||
private:
|
||||
static const jint STATE_RESET = 0;
|
||||
static const jint STATE_CODING = 1;
|
||||
static const jint STATE_END = 2;
|
||||
static const jint STATE_FLUSHED = 3;
|
||||
static ::java::lang::String * DEFAULT_REPLACEMENT;
|
||||
::java::nio::charset::Charset * __attribute__((aligned(__alignof__( ::java::lang::Object)))) charset__;
|
||||
jfloat averageCharsPerByte__;
|
||||
jfloat maxCharsPerByte__;
|
||||
::java::lang::String * replacement__;
|
||||
jint state;
|
||||
::java::nio::charset::CodingErrorAction * malformedInputAction__;
|
||||
::java::nio::charset::CodingErrorAction * unmappableCharacterAction__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CharsetDecoder__
|
||||
@@ -0,0 +1,84 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CharsetEncoder__
|
||||
#define __java_nio_charset_CharsetEncoder__
|
||||
|
||||
#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 CharsetEncoder;
|
||||
class CoderResult;
|
||||
class CodingErrorAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CharsetEncoder : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat);
|
||||
CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat, JArray< jbyte > *);
|
||||
public:
|
||||
virtual jfloat averageBytesPerChar();
|
||||
virtual jboolean canEncode(jchar);
|
||||
virtual jboolean canEncode(::java::lang::CharSequence *);
|
||||
private:
|
||||
jboolean canEncode(::java::nio::CharBuffer *);
|
||||
public:
|
||||
virtual ::java::nio::charset::Charset * charset();
|
||||
virtual ::java::nio::ByteBuffer * encode(::java::nio::CharBuffer *);
|
||||
virtual ::java::nio::charset::CoderResult * encode(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *, jboolean);
|
||||
public: // actually protected
|
||||
virtual ::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *) = 0;
|
||||
public:
|
||||
virtual ::java::nio::charset::CoderResult * flush(::java::nio::ByteBuffer *);
|
||||
public: // actually protected
|
||||
virtual ::java::nio::charset::CoderResult * implFlush(::java::nio::ByteBuffer *);
|
||||
virtual void implOnMalformedInput(::java::nio::charset::CodingErrorAction *);
|
||||
virtual void implOnUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
|
||||
virtual void implReplaceWith(JArray< jbyte > *);
|
||||
virtual void implReset();
|
||||
public:
|
||||
virtual jboolean isLegalReplacement(JArray< jbyte > *);
|
||||
virtual ::java::nio::charset::CodingErrorAction * malformedInputAction();
|
||||
virtual jfloat maxBytesPerChar();
|
||||
virtual ::java::nio::charset::CharsetEncoder * onMalformedInput(::java::nio::charset::CodingErrorAction *);
|
||||
virtual ::java::nio::charset::CodingErrorAction * unmappableCharacterAction();
|
||||
virtual ::java::nio::charset::CharsetEncoder * onUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
|
||||
virtual JArray< jbyte > * replacement();
|
||||
virtual ::java::nio::charset::CharsetEncoder * replaceWith(JArray< jbyte > *);
|
||||
virtual ::java::nio::charset::CharsetEncoder * reset();
|
||||
private:
|
||||
static const jint STATE_RESET = 0;
|
||||
static const jint STATE_CODING = 1;
|
||||
static const jint STATE_END = 2;
|
||||
static const jint STATE_FLUSHED = 3;
|
||||
static JArray< jbyte > * DEFAULT_REPLACEMENT;
|
||||
::java::nio::charset::Charset * __attribute__((aligned(__alignof__( ::java::lang::Object)))) charset__;
|
||||
jfloat averageBytesPerChar__;
|
||||
jfloat maxBytesPerChar__;
|
||||
JArray< jbyte > * replacement__;
|
||||
jint state;
|
||||
::java::nio::charset::CodingErrorAction * malformedInputAction__;
|
||||
::java::nio::charset::CodingErrorAction * unmappableCharacterAction__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CharsetEncoder__
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CoderMalfunctionError__
|
||||
#define __java_nio_charset_CoderMalfunctionError__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Error.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CoderMalfunctionError;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CoderMalfunctionError : public ::java::lang::Error
|
||||
{
|
||||
|
||||
public:
|
||||
CoderMalfunctionError(::java::lang::Exception *);
|
||||
private:
|
||||
static const jlong serialVersionUID = -1151412348057794301LL;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CoderMalfunctionError__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CoderResult$1__
|
||||
#define __java_nio_charset_CoderResult$1__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/charset/CoderResult$Cache.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CoderResult;
|
||||
class CoderResult$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CoderResult$1 : public ::java::nio::charset::CoderResult$Cache
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CoderResult$1();
|
||||
public: // actually protected
|
||||
::java::nio::charset::CoderResult * make(jint);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CoderResult$1__
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CoderResult$2__
|
||||
#define __java_nio_charset_CoderResult$2__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/charset/CoderResult$Cache.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CoderResult;
|
||||
class CoderResult$2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CoderResult$2 : public ::java::nio::charset::CoderResult$Cache
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CoderResult$2();
|
||||
public: // actually protected
|
||||
::java::nio::charset::CoderResult * make(jint);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CoderResult$2__
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CoderResult$Cache__
|
||||
#define __java_nio_charset_CoderResult$Cache__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CoderResult;
|
||||
class CoderResult$Cache;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CoderResult$Cache : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CoderResult$Cache();
|
||||
virtual ::java::nio::charset::CoderResult * get(jint);
|
||||
public: // actually protected
|
||||
virtual ::java::nio::charset::CoderResult * make(jint) = 0;
|
||||
private:
|
||||
::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cache;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CoderResult$Cache__
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CoderResult__
|
||||
#define __java_nio_charset_CoderResult__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CoderResult;
|
||||
class CoderResult$Cache;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CoderResult : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CoderResult(jint, jint);
|
||||
public:
|
||||
virtual jboolean isError();
|
||||
virtual jboolean isMalformed();
|
||||
virtual jboolean isOverflow();
|
||||
virtual jboolean isUnderflow();
|
||||
virtual jboolean isUnmappable();
|
||||
virtual jint length();
|
||||
static ::java::nio::charset::CoderResult * malformedForLength(jint);
|
||||
virtual void throwException();
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::java::nio::charset::CoderResult * unmappableForLength(jint);
|
||||
private:
|
||||
static const jint TYPE_MALFORMED = 0;
|
||||
static const jint TYPE_OVERFLOW = 1;
|
||||
static const jint TYPE_UNDERFLOW = 2;
|
||||
static const jint TYPE_UNMAPPABLE = 3;
|
||||
public:
|
||||
static ::java::nio::charset::CoderResult * OVERFLOW;
|
||||
static ::java::nio::charset::CoderResult * UNDERFLOW;
|
||||
private:
|
||||
static JArray< ::java::lang::String * > * names;
|
||||
static ::java::nio::charset::CoderResult$Cache * malformedCache;
|
||||
static ::java::nio::charset::CoderResult$Cache * unmappableCache;
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
|
||||
jint length__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CoderResult__
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_CodingErrorAction__
|
||||
#define __java_nio_charset_CodingErrorAction__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class CodingErrorAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::CodingErrorAction : public ::java::lang::Object
|
||||
{
|
||||
|
||||
CodingErrorAction(::java::lang::String *);
|
||||
public:
|
||||
virtual ::java::lang::String * toString();
|
||||
static ::java::nio::charset::CodingErrorAction * IGNORE;
|
||||
static ::java::nio::charset::CodingErrorAction * REPLACE;
|
||||
static ::java::nio::charset::CodingErrorAction * REPORT;
|
||||
private:
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_CodingErrorAction__
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_IllegalCharsetNameException__
|
||||
#define __java_nio_charset_IllegalCharsetNameException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalArgumentException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class IllegalCharsetNameException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::IllegalCharsetNameException : public ::java::lang::IllegalArgumentException
|
||||
{
|
||||
|
||||
public:
|
||||
IllegalCharsetNameException(::java::lang::String *);
|
||||
virtual ::java::lang::String * getCharsetName();
|
||||
private:
|
||||
static const jlong serialVersionUID = 1457525358470002989LL;
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::IllegalArgumentException)))) charsetName;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_IllegalCharsetNameException__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_MalformedInputException__
|
||||
#define __java_nio_charset_MalformedInputException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/charset/CharacterCodingException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class MalformedInputException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::MalformedInputException : public ::java::nio::charset::CharacterCodingException
|
||||
{
|
||||
|
||||
public:
|
||||
MalformedInputException(jint);
|
||||
virtual jint getInputLength();
|
||||
virtual ::java::lang::String * getMessage();
|
||||
private:
|
||||
static const jlong serialVersionUID = -3438823399834806194LL;
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharacterCodingException)))) inputLength;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_MalformedInputException__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_UnmappableCharacterException__
|
||||
#define __java_nio_charset_UnmappableCharacterException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/nio/charset/CharacterCodingException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class UnmappableCharacterException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::UnmappableCharacterException : public ::java::nio::charset::CharacterCodingException
|
||||
{
|
||||
|
||||
public:
|
||||
UnmappableCharacterException(jint);
|
||||
virtual jint getInputLength();
|
||||
virtual ::java::lang::String * getMessage();
|
||||
private:
|
||||
static const jlong serialVersionUID = -7026962371537706123LL;
|
||||
jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharacterCodingException)))) inputLength;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_UnmappableCharacterException__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_UnsupportedCharsetException__
|
||||
#define __java_nio_charset_UnsupportedCharsetException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/IllegalArgumentException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class UnsupportedCharsetException;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::UnsupportedCharsetException : public ::java::lang::IllegalArgumentException
|
||||
{
|
||||
|
||||
public:
|
||||
UnsupportedCharsetException(::java::lang::String *);
|
||||
virtual ::java::lang::String * getCharsetName();
|
||||
private:
|
||||
static const jlong serialVersionUID = 1490765524727386367LL;
|
||||
public: // actually package-private
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::IllegalArgumentException)))) charsetName;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_UnsupportedCharsetException__
|
||||
@@ -0,0 +1,39 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __java_nio_charset_spi_CharsetProvider__
|
||||
#define __java_nio_charset_spi_CharsetProvider__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
namespace charset
|
||||
{
|
||||
class Charset;
|
||||
namespace spi
|
||||
{
|
||||
class CharsetProvider;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class java::nio::charset::spi::CharsetProvider : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
CharsetProvider();
|
||||
public:
|
||||
virtual ::java::util::Iterator * charsets() = 0;
|
||||
virtual ::java::nio::charset::Charset * charsetForName(::java::lang::String *) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __java_nio_charset_spi_CharsetProvider__
|
||||
Reference in New Issue
Block a user