2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_MimetypesFileTypeMap__
5 #define __javax_activation_MimetypesFileTypeMap__
9 #include <javax/activation/FileTypeMap.h>
10 #include <gcj/array.h>
18 class MimetypesFileTypeMap
;
23 class javax::activation::MimetypesFileTypeMap
: public ::javax::activation::FileTypeMap
27 MimetypesFileTypeMap();
28 MimetypesFileTypeMap(::java::lang::String
*);
29 MimetypesFileTypeMap(::java::io::InputStream
*);
31 void init(::java::io::Reader
*);
33 virtual void addMimeTypes(::java::lang::String
*);
34 virtual ::java::lang::String
* getContentType(::java::io::File
*);
35 virtual ::java::lang::String
* getContentType(::java::lang::String
*);
37 void parseFile(::java::util::Map
*, ::java::lang::String
*);
38 void parseResource(::java::util::Map
*, ::java::lang::String
*);
39 void parse(::java::util::Map
*, ::java::io::Reader
*);
40 void parseEntry(::java::util::Map
*, ::java::lang::String
*);
41 ::java::util::List
* getSystemResources(::java::lang::String
*);
42 static const jint PROG
= 0;
43 static const jint HOME
= 1;
44 static const jint SYS
= 2;
45 static const jint JAR
= 3;
46 static const jint DEF
= 4;
47 static ::java::lang::String
* DEFAULT_MIME_TYPE
;
48 static jboolean debug
;
49 JArray
< ::java::util::Map
* > * __attribute__((aligned(__alignof__( ::javax::activation::FileTypeMap
)))) mimetypes
;
51 static ::java::lang::Class
class$
;
54 #endif // __javax_activation_MimetypesFileTypeMap__