Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_ActiveModeDTP__
|
||||
#define __gnu_java_net_protocol_ftp_ActiveModeDTP__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class ActiveModeDTP;
|
||||
class DTPInputStream;
|
||||
class DTPOutputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class InetAddress;
|
||||
class ServerSocket;
|
||||
class Socket;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::ActiveModeDTP : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ActiveModeDTP(::java::net::InetAddress *, jint, jint, jint);
|
||||
public:
|
||||
void run();
|
||||
void waitFor();
|
||||
::java::io::InputStream * getInputStream();
|
||||
::java::io::OutputStream * getOutputStream();
|
||||
void setTransferMode(jint);
|
||||
void complete();
|
||||
jboolean abort();
|
||||
void transferComplete();
|
||||
public: // actually package-private
|
||||
::java::net::ServerSocket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) server;
|
||||
::java::net::Socket * socket;
|
||||
::gnu::java::net::protocol::ftp::DTPInputStream * in;
|
||||
::gnu::java::net::protocol::ftp::DTPOutputStream * out;
|
||||
jboolean completed;
|
||||
jboolean inProgress;
|
||||
jint transferMode;
|
||||
::java::io::IOException * exception;
|
||||
::java::lang::Thread * acceptThread;
|
||||
jint connectionTimeout;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_ActiveModeDTP__
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_BlockInputStream__
|
||||
#define __gnu_java_net_protocol_ftp_BlockInputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class BlockInputStream;
|
||||
class DTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::BlockInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
BlockInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
|
||||
public:
|
||||
virtual jint read();
|
||||
virtual jint read(JArray< jbyte > *);
|
||||
virtual jint read(JArray< jbyte > *, jint, jint);
|
||||
public: // actually package-private
|
||||
virtual void readHeader();
|
||||
static const jint EOF = 64;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::net::protocol::ftp::DTPInputStream)))) descriptor;
|
||||
jint max;
|
||||
jint count;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_BlockInputStream__
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_BlockOutputStream__
|
||||
#define __gnu_java_net_protocol_ftp_BlockOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class BlockOutputStream;
|
||||
class DTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::BlockOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
BlockOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
|
||||
public:
|
||||
virtual void write(jint);
|
||||
virtual void write(JArray< jbyte > *);
|
||||
virtual void write(JArray< jbyte > *, jint, jint);
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
static const jbyte RECORD = -128;
|
||||
static const jbyte EOF = 64;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_BlockOutputStream__
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_CompressedInputStream__
|
||||
#define __gnu_java_net_protocol_ftp_CompressedInputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class CompressedInputStream;
|
||||
class DTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::CompressedInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CompressedInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
|
||||
public:
|
||||
virtual jint read();
|
||||
virtual jint read(JArray< jbyte > *);
|
||||
virtual jint read(JArray< jbyte > *, jint, jint);
|
||||
public: // actually package-private
|
||||
virtual void readHeader();
|
||||
virtual void readCodeHeader();
|
||||
static const jint EOF = 64;
|
||||
static const jint RAW = 0;
|
||||
static const jint COMPRESSED = 128;
|
||||
static const jint FILLER = 192;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::net::protocol::ftp::DTPInputStream)))) descriptor;
|
||||
jint max;
|
||||
jint count;
|
||||
jint state;
|
||||
jint rep;
|
||||
jint n;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_CompressedInputStream__
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_CompressedOutputStream__
|
||||
#define __gnu_java_net_protocol_ftp_CompressedOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class CompressedOutputStream;
|
||||
class DTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::CompressedOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
CompressedOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
|
||||
public:
|
||||
virtual void write(jint);
|
||||
virtual void write(JArray< jbyte > *);
|
||||
virtual void write(JArray< jbyte > *, jint, jint);
|
||||
public: // actually package-private
|
||||
virtual JArray< jbyte > * compress(JArray< jbyte > *, jint, jint);
|
||||
virtual jint flush_compressed(JArray< jbyte > *, jint, jint, jbyte);
|
||||
virtual jint flush_raw(JArray< jbyte > *, jint, JArray< jbyte > *, jint, jint);
|
||||
virtual JArray< jbyte > * realloc(JArray< jbyte > *, jint);
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
static const jbyte RECORD = -128;
|
||||
static const jbyte EOF = 64;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_CompressedOutputStream__
|
||||
@@ -0,0 +1,43 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_DTP__
|
||||
#define __gnu_java_net_protocol_ftp_DTP__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::DTP : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual ::java::io::InputStream * getInputStream() = 0;
|
||||
virtual ::java::io::OutputStream * getOutputStream() = 0;
|
||||
virtual void setTransferMode(jint) = 0;
|
||||
virtual void complete() = 0;
|
||||
virtual jboolean abort() = 0;
|
||||
virtual void transferComplete() = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_DTP__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_DTPInputStream__
|
||||
#define __gnu_java_net_protocol_ftp_DTPInputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/FilterInputStream.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
class DTPInputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::DTPInputStream : public ::java::io::FilterInputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DTPInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
|
||||
virtual void setTransferComplete(jboolean);
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
::gnu::java::net::protocol::ftp::DTP * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) dtp;
|
||||
jboolean transferComplete;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_DTPInputStream__
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_DTPOutputStream__
|
||||
#define __gnu_java_net_protocol_ftp_DTPOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/FilterOutputStream.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
class DTPOutputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::DTPOutputStream : public ::java::io::FilterOutputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
DTPOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
|
||||
virtual void setTransferComplete(jboolean);
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
::gnu::java::net::protocol::ftp::DTP * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) dtp;
|
||||
jboolean transferComplete;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_DTPOutputStream__
|
||||
@@ -0,0 +1,165 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPConnection__
|
||||
#define __gnu_java_net_protocol_ftp_FTPConnection__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class CRLFOutputStream;
|
||||
class LineInputStream;
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
class FTPConnection;
|
||||
class FTPResponse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class Socket;
|
||||
}
|
||||
}
|
||||
namespace javax
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace ssl
|
||||
{
|
||||
class TrustManager;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPConnection : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
FTPConnection(::java::lang::String *);
|
||||
FTPConnection(::java::lang::String *, jint);
|
||||
FTPConnection(::java::lang::String *, jint, jint, jint, jboolean);
|
||||
virtual jboolean authenticate(::java::lang::String *, ::java::lang::String *);
|
||||
virtual jboolean starttls(jboolean);
|
||||
virtual jboolean starttls(jboolean, ::javax::net::ssl::TrustManager *);
|
||||
virtual jboolean changeWorkingDirectory(::java::lang::String *);
|
||||
virtual jboolean changeToParentDirectory();
|
||||
virtual void reinitialize();
|
||||
virtual void logout();
|
||||
public: // actually protected
|
||||
virtual void initialiseDTP();
|
||||
public:
|
||||
virtual void setPassive(jboolean);
|
||||
virtual jint getRepresentationType();
|
||||
virtual void setRepresentationType(jint);
|
||||
virtual jint getFileStructure();
|
||||
virtual void setFileStructure(jint);
|
||||
virtual jint getTransferMode();
|
||||
virtual void setTransferMode(jint);
|
||||
virtual ::java::io::InputStream * retrieve(::java::lang::String *);
|
||||
virtual ::java::io::OutputStream * store(::java::lang::String *);
|
||||
virtual ::java::io::OutputStream * append(::java::lang::String *);
|
||||
virtual void allocate(jlong);
|
||||
virtual jboolean rename(::java::lang::String *, ::java::lang::String *);
|
||||
virtual jboolean abort();
|
||||
virtual jboolean delete$(::java::lang::String *);
|
||||
virtual jboolean removeDirectory(::java::lang::String *);
|
||||
virtual jboolean makeDirectory(::java::lang::String *);
|
||||
virtual ::java::lang::String * getWorkingDirectory();
|
||||
virtual ::java::io::InputStream * list(::java::lang::String *);
|
||||
virtual ::java::util::List * nameList(::java::lang::String *);
|
||||
virtual ::java::lang::String * system();
|
||||
virtual void noop();
|
||||
public: // actually protected
|
||||
virtual void send(::java::lang::String *);
|
||||
virtual ::gnu::java::net::protocol::ftp::FTPResponse * getResponse();
|
||||
virtual ::gnu::java::net::protocol::ftp::FTPResponse * readResponse();
|
||||
public: // actually package-private
|
||||
static jint parseCode(::java::lang::String *);
|
||||
public:
|
||||
static const jint FTP_PORT = 21;
|
||||
static const jint FTP_DATA_PORT = 20;
|
||||
public: // actually protected
|
||||
static ::java::lang::String * USER;
|
||||
static ::java::lang::String * PASS;
|
||||
static ::java::lang::String * ACCT;
|
||||
static ::java::lang::String * CWD;
|
||||
static ::java::lang::String * CDUP;
|
||||
static ::java::lang::String * SMNT;
|
||||
static ::java::lang::String * REIN;
|
||||
static ::java::lang::String * QUIT;
|
||||
static ::java::lang::String * PORT;
|
||||
static ::java::lang::String * PASV;
|
||||
static ::java::lang::String * TYPE;
|
||||
static ::java::lang::String * STRU;
|
||||
static ::java::lang::String * MODE;
|
||||
static ::java::lang::String * RETR;
|
||||
static ::java::lang::String * STOR;
|
||||
static ::java::lang::String * STOU;
|
||||
static ::java::lang::String * APPE;
|
||||
static ::java::lang::String * ALLO;
|
||||
static ::java::lang::String * REST;
|
||||
static ::java::lang::String * RNFR;
|
||||
static ::java::lang::String * RNTO;
|
||||
static ::java::lang::String * ABOR;
|
||||
static ::java::lang::String * DELE;
|
||||
static ::java::lang::String * RMD;
|
||||
static ::java::lang::String * MKD;
|
||||
static ::java::lang::String * PWD;
|
||||
static ::java::lang::String * LIST;
|
||||
static ::java::lang::String * NLST;
|
||||
static ::java::lang::String * SITE;
|
||||
static ::java::lang::String * SYST;
|
||||
static ::java::lang::String * STAT;
|
||||
static ::java::lang::String * HELP;
|
||||
static ::java::lang::String * NOOP;
|
||||
static ::java::lang::String * AUTH;
|
||||
static ::java::lang::String * PBSZ;
|
||||
static ::java::lang::String * PROT;
|
||||
static ::java::lang::String * CCC;
|
||||
static ::java::lang::String * TLS;
|
||||
public:
|
||||
static const jint TYPE_ASCII = 1;
|
||||
static const jint TYPE_EBCDIC = 2;
|
||||
static const jint TYPE_BINARY = 3;
|
||||
static const jint STRUCTURE_FILE = 1;
|
||||
static const jint STRUCTURE_RECORD = 2;
|
||||
static const jint STRUCTURE_PAGE = 3;
|
||||
static const jint MODE_STREAM = 1;
|
||||
static const jint MODE_BLOCK = 2;
|
||||
static const jint MODE_COMPRESSED = 3;
|
||||
private:
|
||||
static ::java::lang::String * US_ASCII;
|
||||
public: // actually protected
|
||||
::java::net::Socket * __attribute__((aligned(__alignof__( ::java::lang::Object)))) socket;
|
||||
::gnu::java::net::LineInputStream * in;
|
||||
::gnu::java::net::CRLFOutputStream * out;
|
||||
jint connectionTimeout;
|
||||
jint timeout;
|
||||
jboolean debug;
|
||||
::gnu::java::net::protocol::ftp::DTP * dtp;
|
||||
jint representationType;
|
||||
jint fileStructure;
|
||||
jint transferMode;
|
||||
jboolean passive;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPConnection__
|
||||
@@ -0,0 +1,43 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPException__
|
||||
#define __gnu_java_net_protocol_ftp_FTPException__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/IOException.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class FTPException;
|
||||
class FTPResponse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPException : public ::java::io::IOException
|
||||
{
|
||||
|
||||
public:
|
||||
FTPException(::gnu::java::net::protocol::ftp::FTPResponse *);
|
||||
virtual ::gnu::java::net::protocol::ftp::FTPResponse * getResponse();
|
||||
public: // actually protected
|
||||
::gnu::java::net::protocol::ftp::FTPResponse * __attribute__((aligned(__alignof__( ::java::io::IOException)))) response;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPException__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPResponse__
|
||||
#define __gnu_java_net_protocol_ftp_FTPResponse__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class FTPResponse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPResponse : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
FTPResponse(jint, ::java::lang::String *);
|
||||
FTPResponse(jint, ::java::lang::String *, ::java::lang::String *);
|
||||
jint getCode();
|
||||
::java::lang::String * getMessage();
|
||||
::java::lang::String * getData();
|
||||
public: // actually protected
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) code;
|
||||
::java::lang::String * message;
|
||||
::java::lang::String * data;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPResponse__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
|
||||
#define __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/FilterInputStream.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class FTPURLConnection;
|
||||
class FTPURLConnection$ClosingInputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPURLConnection$ClosingInputStream : public ::java::io::FilterInputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FTPURLConnection$ClosingInputStream(::gnu::java::net::protocol::ftp::FTPURLConnection *, ::java::io::InputStream *);
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
::gnu::java::net::protocol::ftp::FTPURLConnection * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) this$0;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingInputStream__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
|
||||
#define __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/FilterOutputStream.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class FTPURLConnection;
|
||||
class FTPURLConnection$ClosingOutputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPURLConnection$ClosingOutputStream : public ::java::io::FilterOutputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
FTPURLConnection$ClosingOutputStream(::gnu::java::net::protocol::ftp::FTPURLConnection *, ::java::io::OutputStream *);
|
||||
public:
|
||||
virtual void close();
|
||||
public: // actually package-private
|
||||
::gnu::java::net::protocol::ftp::FTPURLConnection * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) this$0;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPURLConnection$ClosingOutputStream__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_FTPURLConnection__
|
||||
#define __gnu_java_net_protocol_ftp_FTPURLConnection__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/net/URLConnection.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class FTPConnection;
|
||||
class FTPURLConnection;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class URL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::FTPURLConnection : public ::java::net::URLConnection
|
||||
{
|
||||
|
||||
public:
|
||||
FTPURLConnection(::java::net::URL *);
|
||||
virtual void connect();
|
||||
virtual void setDoInput(jboolean);
|
||||
virtual void setDoOutput(jboolean);
|
||||
virtual ::java::io::InputStream * getInputStream();
|
||||
virtual ::java::io::OutputStream * getOutputStream();
|
||||
virtual ::java::lang::String * getRequestProperty(::java::lang::String *);
|
||||
virtual ::java::util::Map * getRequestProperties();
|
||||
private:
|
||||
void addRequestPropertyValue(::java::util::Map *, ::java::lang::String *);
|
||||
public:
|
||||
virtual void setRequestProperty(::java::lang::String *, ::java::lang::String *);
|
||||
virtual void addRequestProperty(::java::lang::String *, ::java::lang::String *);
|
||||
public: // actually protected
|
||||
::gnu::java::net::protocol::ftp::FTPConnection * __attribute__((aligned(__alignof__( ::java::net::URLConnection)))) connection;
|
||||
jboolean passive;
|
||||
jint representationType;
|
||||
jint fileStructure;
|
||||
jint transferMode;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_FTPURLConnection__
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_Handler__
|
||||
#define __gnu_java_net_protocol_ftp_Handler__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/net/URLStreamHandler.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class Handler;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class URL;
|
||||
class URLConnection;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::Handler : public ::java::net::URLStreamHandler
|
||||
{
|
||||
|
||||
public:
|
||||
Handler();
|
||||
public: // actually protected
|
||||
virtual jint getDefaultPort();
|
||||
public:
|
||||
virtual ::java::net::URLConnection * openConnection(::java::net::URL *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_Handler__
|
||||
@@ -0,0 +1,65 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_PassiveModeDTP__
|
||||
#define __gnu_java_net_protocol_ftp_PassiveModeDTP__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTPInputStream;
|
||||
class DTPOutputStream;
|
||||
class PassiveModeDTP;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class InetAddress;
|
||||
class Socket;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::PassiveModeDTP : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
PassiveModeDTP(::java::lang::String *, jint, ::java::net::InetAddress *, jint, jint);
|
||||
public:
|
||||
::java::io::InputStream * getInputStream();
|
||||
::java::io::OutputStream * getOutputStream();
|
||||
void setTransferMode(jint);
|
||||
void complete();
|
||||
jboolean abort();
|
||||
void transferComplete();
|
||||
public: // actually package-private
|
||||
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) address;
|
||||
jint port;
|
||||
::java::net::Socket * socket;
|
||||
::gnu::java::net::protocol::ftp::DTPInputStream * in;
|
||||
::gnu::java::net::protocol::ftp::DTPOutputStream * out;
|
||||
jboolean completed;
|
||||
jboolean inProgress;
|
||||
jint transferMode;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_PassiveModeDTP__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_StreamInputStream__
|
||||
#define __gnu_java_net_protocol_ftp_StreamInputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPInputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
class StreamInputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::StreamInputStream : public ::gnu::java::net::protocol::ftp::DTPInputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
StreamInputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::InputStream *);
|
||||
public:
|
||||
virtual jint read();
|
||||
virtual jint read(JArray< jbyte > *);
|
||||
virtual jint read(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_StreamInputStream__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_net_protocol_ftp_StreamOutputStream__
|
||||
#define __gnu_java_net_protocol_ftp_StreamOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/net/protocol/ftp/DTPOutputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
namespace protocol
|
||||
{
|
||||
namespace ftp
|
||||
{
|
||||
class DTP;
|
||||
class StreamOutputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::net::protocol::ftp::StreamOutputStream : public ::gnu::java::net::protocol::ftp::DTPOutputStream
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
StreamOutputStream(::gnu::java::net::protocol::ftp::DTP *, ::java::io::OutputStream *);
|
||||
public:
|
||||
virtual void write(jint);
|
||||
virtual void write(JArray< jbyte > *);
|
||||
virtual void write(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_net_protocol_ftp_StreamOutputStream__
|
||||
Reference in New Issue
Block a user