
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_datatransfer_MimeType__
#define __java_awt_datatransfer_MimeType__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace datatransfer
      {
          class MimeType;
      }
    }
  }
}

class java::awt::datatransfer::MimeType : public ::java::lang::Object
{

public:
  MimeType();
public: // actually package-private
  MimeType(::java::lang::String *);
  virtual void addParameter(::java::lang::String *, ::java::lang::String *);
  virtual void removeParameter(::java::lang::String *);
  virtual ::java::lang::String * getParameter(::java::lang::String *);
  virtual ::java::lang::String * getPrimaryType();
  virtual ::java::lang::String * getSubType();
  virtual ::java::lang::String * getBaseType();
  virtual jboolean matches(::java::awt::datatransfer::MimeType *);
public:
  virtual void readExternal(::java::io::ObjectInput *);
  virtual void writeExternal(::java::io::ObjectOutput *);
  virtual ::java::lang::String * toString();
private:
  void parse(::java::lang::String *);
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) primaryType;
  ::java::lang::String * subType;
  ::java::util::HashMap * parameters;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_datatransfer_MimeType__
