summaryrefslogtreecommitdiff
path: root/libjava/javax/activation/URLDataSource.h
blob: 30fa6a1fa04af0385ab3fc34fbd7dfb458ee2b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_activation_URLDataSource__
#define __javax_activation_URLDataSource__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace net
    {
        class URL;
        class URLConnection;
    }
  }
  namespace javax
  {
    namespace activation
    {
        class URLDataSource;
    }
  }
}

class javax::activation::URLDataSource : public ::java::lang::Object
{

public:
  URLDataSource(::java::net::URL *);
  virtual ::java::lang::String * getContentType();
  virtual ::java::lang::String * getName();
  virtual ::java::io::InputStream * getInputStream();
  virtual ::java::io::OutputStream * getOutputStream();
  virtual ::java::net::URL * getURL();
private:
  ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) url;
  ::java::net::URLConnection * connection;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_activation_URLDataSource__