Class pmr.chemime.MIME
All Packages Class Hierarchy This Package Previous Next Index
Class pmr.chemime.MIME
java.lang.Object
|
+----pmr.chemime.MIME
- public class MIME
- extends Object
an embryonic class to serve MIME types including chemical/. Essentially
a lookup table at present
-
MIME()
-
-
getMIME(String)
-
-
getMIMEFromFilename(String)
- gets the MIME type from the suffix - not always robust!
-
getMIMEs()
-
-
getMIMEs(String)
- get all those MIME types of given primary type (e.g.
-
getSuffix(String)
-
-
getSuffixes()
-
MIME
public MIME()
getMIME
public static String getMIME(String suffix)
getSuffix
public static String getSuffix(String MIME)
getSuffixes
public static StringList getSuffixes()
getMIMEs
public static StringList getMIMEs()
getMIMEs
public static StringList getMIMEs(String primaryType)
- get all those MIME types of given primary type (e.g. chemical/)
getMIMEFromFilename
public static String getMIMEFromFilename(String filename)
- gets the MIME type from the suffix - not always robust!
All Packages Class Hierarchy This Package Previous Next Index