|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.util.Extensions
public class Extensions
Determines ContentType based on file extensions.
| Method Summary | |
|---|---|
static ContentType |
getExtensionContentType(java.lang.String extension)
Returns the content type associated with the specified extension. |
static ContentType |
getFileNameContentType(java.lang.String fileName)
Returns the content type associated with the provided file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ContentType getExtensionContentType(java.lang.String extension)
extension - The extension whose content type is to be determined.
public static ContentType getFileNameContentType(java.lang.String fileName)
fileName - The file name whose content type is to be determined.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||