summaryrefslogtreecommitdiff
path: root/libjava/javax/activation/FileDataSource.h
blob: a3636b8a0ce2af933930be768083dc28af89682a (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_activation_FileDataSource__
#define __javax_activation_FileDataSource__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace javax
  {
    namespace activation
    {
        class FileDataSource;
        class FileTypeMap;
    }
  }
}

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

public:
  FileDataSource(::java::io::File *);
  FileDataSource(::java::lang::String *);
  virtual ::java::io::InputStream * getInputStream();
  virtual ::java::io::OutputStream * getOutputStream();
  virtual ::java::lang::String * getContentType();
  virtual ::java::lang::String * getName();
  virtual ::java::io::File * getFile();
  virtual void setFileTypeMap(::javax::activation::FileTypeMap *);
private:
  ::java::io::File * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file;
  ::javax::activation::FileTypeMap * typeMap;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_activation_FileDataSource__