public class MimeTypeHelper extends BaseObject
Constructor and Description |
---|
MimeTypeHelper() |
Modifier and Type | Method and Description |
---|---|
private void |
__net_MimeTypeHelper_constructor__()
Constructor.
|
static void |
__net_MimeTypeHelper_constructor__static__() |
void |
__net_MimeTypeHelper_execute__()
Execute method
|
static logical |
isFormEncoded(character _p1)
Indicates if a given MIME type is a form encoded type
|
static logical |
isJson(character _p1)
Indicates if a given MIME type is json
|
static logical |
isMultipart(character _p1)
Indicates if a given MIME type is a multipart type
|
static logical |
isXml(character _p1)
Indicates if a given MIME type is xml
|
static character[] |
splitType(character _p1)
Strips the vendor prefix and any parmeters from the input type, and
returns the type and subtype in an array
|
(package private) static java.lang.String[] |
splitType(java.lang.String p1,
int numEntries) |
__lang_BaseObject_constructor__, __lang_BaseObject_execute__, assertNotNull, assertNotNull, clone, getLegacyClass, getNextSibling, getPrevSibling, legacyEquals, toLegacyString
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTracked
public void __net_MimeTypeHelper_execute__()
private void __net_MimeTypeHelper_constructor__()
public static void __net_MimeTypeHelper_constructor__static__()
public static character[] splitType(character _p1)
_p1
- the mime typepublic static logical isFormEncoded(character _p1)
_p1
- the mime typepublic static logical isMultipart(character _p1)
_p1
- the mime typepublic static logical isJson(character _p1)
_p1
- the mime typepublic static logical isXml(character _p1)
_p1
- the mime typestatic java.lang.String[] splitType(java.lang.String p1, int numEntries)