2013-11-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libjava / javax / activation / MimeType.h
bloba6dbb1eece472335c07dfaa03e8d0a5a6851a118
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_activation_MimeType__
5 #define __javax_activation_MimeType__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace javax
14 namespace activation
16 class MimeType;
17 class MimeTypeParameterList;
22 class javax::activation::MimeType : public ::java::lang::Object
25 public:
26 MimeType();
27 MimeType(::java::lang::String *);
28 MimeType(::java::lang::String *, ::java::lang::String *);
29 virtual ::java::lang::String * getPrimaryType();
30 virtual void setPrimaryType(::java::lang::String *);
31 virtual ::java::lang::String * getSubType();
32 virtual void setSubType(::java::lang::String *);
33 virtual ::javax::activation::MimeTypeParameterList * getParameters();
34 virtual ::java::lang::String * getParameter(::java::lang::String *);
35 virtual void setParameter(::java::lang::String *, ::java::lang::String *);
36 virtual void removeParameter(::java::lang::String *);
37 virtual ::java::lang::String * toString();
38 virtual ::java::lang::String * getBaseType();
39 virtual jboolean match(::javax::activation::MimeType *);
40 virtual jboolean match(::java::lang::String *);
41 virtual void writeExternal(::java::io::ObjectOutput *);
42 virtual void readExternal(::java::io::ObjectInput *);
43 private:
44 void parse(::java::lang::String *);
45 public: // actually package-private
46 static void checkValidity(::java::lang::String *, ::java::lang::String *);
47 static jboolean isValidChar(jchar);
48 static ::java::lang::String * TSPECIALS;
49 private:
50 ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) primaryType;
51 ::java::lang::String * subType;
52 ::javax::activation::MimeTypeParameterList * parameters;
53 public:
54 static ::java::lang::Class class$;
57 #endif // __javax_activation_MimeType__