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

Constructor Index

 o MIME()

Method Index

 o getMIME(String)
 o getMIMEFromFilename(String)
gets the MIME type from the suffix - not always robust!
 o getMIMEs()
 o getMIMEs(String)
get all those MIME types of given primary type (e.g.
 o getSuffix(String)
 o getSuffixes()

Constructors

 o MIME
  public MIME()

Methods

 o getMIME
  public static String getMIME(String suffix)
 o getSuffix
  public static String getSuffix(String MIME)
 o getSuffixes
  public static StringList getSuffixes()
 o getMIMEs
  public static StringList getMIMEs()
 o getMIMEs
  public static StringList getMIMEs(String primaryType)
get all those MIME types of given primary type (e.g. chemical/)
 o 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