Merged gcj-eclipse branch to trunk.

From-SVN: r120621
This commit is contained in:
Tom Tromey
2007-01-09 19:58:05 +00:00
parent c648dedbde
commit 97b8365caf
17478 changed files with 606493 additions and 100744 deletions
@@ -0,0 +1,64 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_net_protocol_core_Connection__
#define __gnu_java_net_protocol_core_Connection__
#pragma interface
#include <java/net/URLConnection.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class Core;
}
namespace java
{
namespace net
{
namespace protocol
{
namespace core
{
class Connection;
}
}
}
}
}
namespace java
{
namespace net
{
class URL;
}
}
}
class gnu::java::net::protocol::core::Connection : public ::java::net::URLConnection
{
public:
Connection(::java::net::URL *);
virtual void connect();
virtual ::java::io::InputStream * getInputStream();
virtual ::java::lang::String * getHeaderField(::java::lang::String *);
virtual ::java::util::Map * getHeaderFields();
virtual ::java::lang::String * getHeaderField(jint);
virtual ::java::lang::String * getHeaderFieldKey(jint);
private:
::java::lang::String * getKey(::java::lang::String *);
::java::lang::String * getField(::java::lang::String *);
void getHeaders();
::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) hdrHash;
::java::util::Vector * hdrVec;
jboolean gotHeaders;
::gnu::gcj::Core * core;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_net_protocol_core_Connection__
@@ -0,0 +1,60 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_net_protocol_core_CoreInputStream__
#define __gnu_java_net_protocol_core_CoreInputStream__
#pragma interface
#include <java/io/InputStream.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class Core;
class RawData;
}
namespace java
{
namespace net
{
namespace protocol
{
namespace core
{
class CoreInputStream;
}
}
}
}
}
}
class gnu::java::net::protocol::core::CoreInputStream : public ::java::io::InputStream
{
jint unsafeGetByte(jlong);
jint copyIntoByteArray(JArray< jbyte > *, jint, jint);
public:
CoreInputStream(::gnu::gcj::Core *);
virtual jint available();
virtual void mark(jint);
virtual jboolean markSupported();
virtual jint read();
virtual jint read(JArray< jbyte > *, jint, jint);
virtual void reset();
virtual jlong skip(jlong);
public: // actually protected
::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) ptr;
jint pos;
jint mark__;
jint count;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_net_protocol_core_CoreInputStream__
@@ -0,0 +1,49 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_net_protocol_core_Handler__
#define __gnu_java_net_protocol_core_Handler__
#pragma interface
#include <java/net/URLStreamHandler.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace net
{
namespace protocol
{
namespace core
{
class Handler;
}
}
}
}
}
namespace java
{
namespace net
{
class URL;
class URLConnection;
}
}
}
class gnu::java::net::protocol::core::Handler : public ::java::net::URLStreamHandler
{
public:
Handler();
public: // actually protected
virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_net_protocol_core_Handler__