java.lang.Object javax.activation.MimeType
public String getBaseType()
public String getParameter(String name)
public MimeTypeParameterList getParameters()
public String getPrimaryType()
public String getSubType()
public boolean match(String rawdata) throws MimeTypeParseException
public boolean match(MimeType type)
public MimeType()
public MimeType(String rawdata) throws MimeTypeParseException
public MimeType(String primary, String sub) throws MimeTypeParseException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
public void removeParameter(String name)
public void setParameter(String name, String value)
public void setPrimaryType(String primary) throws MimeTypeParseException
public void setSubType(String sub) throws MimeTypeParseException
public String toString()
public void writeExternal(ObjectOutput out) throws IOException