Package | Description |
---|---|
org.jim.common.http |
Modifier and Type | Method and Description |
---|---|
static MimeType |
MimeType.fromExtension(String extension)
Gets the first matching mime-type for the given extension
|
static MimeType |
MimeType.fromType(String type)
Gets the first matching mime-type for the given type
|
static MimeType |
MimeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MimeType[] |
MimeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018. All rights reserved.