com.sun.grizzly.util.http
Class MimeType
java.lang.Object
com.sun.grizzly.util.http.MimeType
public class MimeType
- extends Object
Hardcoded mime-type supported by default.
- Author:
- Jeanfrancois Arcand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeType
public MimeType()
get
public static String get(String extension)
get
public static String get(String extension,
String defaultCt)
contains
public static boolean contains(String extension)
- Return true if the extension is well-know.
- Parameters:
extension
- the extension.
- Returns:
- true if the included, false if not
Copyright © 2009 SUN Microsystems. All Rights Reserved.