dk.apaq.vfs.mime
Class MimeType
java.lang.Object
dk.apaq.vfs.mime.MimeType
public class MimeType
- extends Object
- Author:
- michael
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeType
public MimeType()
retrieve
public static String retrieve(File file)
- Retrieves the mimetype.
- Parameters:
file - The file.
- Returns:
- The mimetype.
retrieve
public static String retrieve(String suffix)
add
public static void add(String suffix,
String mimetype)
remove
public static void remove(String suffix)
Copyright © 2011. All Rights Reserved.