1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_activation_DataHandler__
|
5 |
|
|
#define __javax_activation_DataHandler__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace datatransfer
|
19 |
|
|
{
|
20 |
|
|
class DataFlavor;
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
namespace net
|
24 |
|
|
{
|
25 |
|
|
class URL;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
namespace javax
|
29 |
|
|
{
|
30 |
|
|
namespace activation
|
31 |
|
|
{
|
32 |
|
|
class CommandInfo;
|
33 |
|
|
class CommandMap;
|
34 |
|
|
class DataContentHandler;
|
35 |
|
|
class DataContentHandlerFactory;
|
36 |
|
|
class DataHandler;
|
37 |
|
|
class DataSource;
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
|
42 |
|
|
class javax::activation::DataHandler : public ::java::lang::Object
|
43 |
|
|
{
|
44 |
|
|
|
45 |
|
|
public:
|
46 |
|
|
DataHandler(::javax::activation::DataSource *);
|
47 |
|
|
DataHandler(::java::lang::Object *, ::java::lang::String *);
|
48 |
|
|
DataHandler(::java::net::URL *);
|
49 |
|
|
virtual ::javax::activation::DataSource * getDataSource();
|
50 |
|
|
virtual ::java::lang::String * getName();
|
51 |
|
|
virtual ::java::lang::String * getContentType();
|
52 |
|
|
virtual ::java::io::InputStream * getInputStream();
|
53 |
|
|
virtual void writeTo(::java::io::OutputStream *);
|
54 |
|
|
virtual ::java::io::OutputStream * getOutputStream();
|
55 |
|
|
virtual JArray< ::java::awt::datatransfer::DataFlavor * > * getTransferDataFlavors();
|
56 |
|
|
virtual jboolean isDataFlavorSupported(::java::awt::datatransfer::DataFlavor *);
|
57 |
|
|
virtual ::java::lang::Object * getTransferData(::java::awt::datatransfer::DataFlavor *);
|
58 |
|
|
virtual void setCommandMap(::javax::activation::CommandMap *);
|
59 |
|
|
virtual JArray< ::javax::activation::CommandInfo * > * getPreferredCommands();
|
60 |
|
|
virtual JArray< ::javax::activation::CommandInfo * > * getAllCommands();
|
61 |
|
|
virtual ::javax::activation::CommandInfo * getCommand(::java::lang::String *);
|
62 |
|
|
virtual ::java::lang::Object * getContent();
|
63 |
|
|
virtual ::java::lang::Object * getBean(::javax::activation::CommandInfo *);
|
64 |
|
|
static void setDataContentHandlerFactory(::javax::activation::DataContentHandlerFactory *);
|
65 |
|
|
private:
|
66 |
|
|
::java::lang::String * getShortType();
|
67 |
|
|
::javax::activation::CommandMap * getCommandMap();
|
68 |
|
|
::javax::activation::DataContentHandler * getDataContentHandler();
|
69 |
|
|
static JArray< ::java::awt::datatransfer::DataFlavor * > * NO_FLAVORS;
|
70 |
|
|
static ::javax::activation::DataContentHandlerFactory * factory;
|
71 |
|
|
::javax::activation::DataSource * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dataSource;
|
72 |
|
|
::javax::activation::DataSource * objDataSource;
|
73 |
|
|
::java::lang::Object * object;
|
74 |
|
|
::java::lang::String * objectMimeType;
|
75 |
|
|
::javax::activation::CommandMap * currentCommandMap;
|
76 |
|
|
JArray< ::java::awt::datatransfer::DataFlavor * > * transferFlavors;
|
77 |
|
|
::javax::activation::DataContentHandler * dataContentHandler;
|
78 |
|
|
::javax::activation::DataContentHandler * factoryDCH;
|
79 |
|
|
::javax::activation::DataContentHandlerFactory * oldFactory;
|
80 |
|
|
::java::lang::String * shortType;
|
81 |
|
|
public:
|
82 |
|
|
static ::java::lang::Class class$;
|
83 |
|
|
};
|
84 |
|
|
|
85 |
|
|
#endif // __javax_activation_DataHandler__
|