public final class SubType
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
asString() |
The string representation of this subtype as it would appear in a MIME type.
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
static SubType |
subType(java.lang.String subType) |
Factory method for generating a MIME sub type from the given
String . |
public static SubType subType(java.lang.String subType)
String
.subType
- the String
representation of the sub type.Type
representing the given String
.public java.lang.String asString()
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object