javax.activation
Class MimeType
java.lang.Object
javax.activation.MimeType
- Externalizable
public class MimeType
extends java.lang.Object
implements Externalizable
MimeType
public MimeType()
getBaseType
public String getBaseType()
getParameter
public String getParameter(String name)
getPrimaryType
public String getPrimaryType()
getSubType
public String getSubType()
match
public boolean match(MimeType type)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
removeParameter
public void removeParameter(String name)
setParameter
public void setParameter(String name,
String value)
toString
public String toString()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException