|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ivata.mask.util.MimeTypesHandling
MimeTypeHandling is a class of static methods for handling MimeTypes. It contains methods for getting MimeType information from filenames etc..
Don't create an instance of this class; use the static final methods.
| Method Summary | |
static java.lang.String |
fileName2Icon(java.lang.String filename)
/** |
static java.lang.String |
mimeType2Icon(java.lang.String mimeType)
Returns the full path to the appropriate icon for this mime-type that the webapp will use. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.String fileName2Icon(java.lang.String filename)
This method returns an appropriate mime-icon-image name from a filename (or rather from the extension of the file).
filename - a String which is the name of the file.
public static java.lang.String mimeType2Icon(java.lang.String mimeType)
Returns the full path to the appropriate icon for this mime-type that the webapp will use.
mimeType - as string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||