Uses of Class
com.jalios.util.MimeType
-
Packages that use MimeType 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). -
-
Uses of MimeType in com.jalios.util
Classes in com.jalios.util with type parameters of type MimeType Modifier and Type Class Description static class
MimeType.SpecificityComparator<T extends MimeType>
Methods in com.jalios.util that return MimeType Modifier and Type Method Description static MimeType
MimeType. parseMimeType(java.lang.String mimeType)
Parse the given String into a singleMimeType
.static MimeType
MimeType. valueOf(java.lang.String value)
Parse the given String value into aMimeType
object, with this method name following the 'valueOf' naming convention (as supported by org.springframework.core.convert.ConversionService}.Methods in com.jalios.util with parameters of type MimeType Modifier and Type Method Description int
MimeType. compareTo(MimeType other)
Compares thisMediaType
to another alphabetically.boolean
MimeType. includes(MimeType other)
Indicate whether thisMediaType
includes the given media type.boolean
MimeType. isCompatibleWith(MimeType other)
Indicate whether thisMediaType
is compatible with the given media type.Constructors in com.jalios.util with parameters of type MimeType Constructor Description MimeType(MimeType other, java.util.Map<java.lang.String,java.lang.String> parameters)
Copy-constructor that copies the type and subtype of the givenMimeType
, and allows for different parameter.
-