Package | Description |
---|---|
com.jalios.util |
Contains Jalios utility classes (Unix-like crypt class, RSS parser,
mail utility, servlet utility, comparators and miscellaneous utility
static methods).
|
Modifier and Type | Class and Description |
---|---|
static class |
MimeType.SpecificityComparator<T extends MimeType> |
Modifier and Type | Method and Description |
---|---|
static MimeType |
MimeType.parseMimeType(java.lang.String mimeType)
Parse the given String into a single
MimeType . |
static MimeType |
MimeType.valueOf(java.lang.String value)
Parse the given String value into a
MimeType object,
with this method name following the 'valueOf' naming convention
(as supported by org.springframework.core.convert.ConversionService . |
Modifier and Type | Method and Description |
---|---|
int |
MimeType.compareTo(MimeType other)
Compares this
MediaType to another alphabetically. |
boolean |
MimeType.includes(MimeType other)
Indicate whether this
MediaType includes the given media type. |
boolean |
MimeType.isCompatibleWith(MimeType other)
Indicate whether this
MediaType is compatible with the given media type. |
Constructor and Description |
---|
MimeType(MimeType other,
java.util.Map<java.lang.String,java.lang.String> parameters)
Copy-constructor that copies the type and subtype of the given
MimeType ,
and allows for different parameter. |
Copyright © 2001-2017 Jalios SA. All Rights Reserved.