Package org.apache.abdera.i18n.rfc4646
Class Subtag
java.lang.Object
org.apache.abdera.i18n.rfc4646.Subtag
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Subtag>
@Deprecated(since="2021-07-29")
public final class Subtag
extends Object
implements Serializable, Cloneable, Comparable<Subtag>
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
A Lang tag subtag
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a SubtagDeprecated.Create a SubtagDeprecated.Create a SubtagDeprecated.Create a SubtagDeprecated.Create a SubtagDeprecated.Create a SubtagSubtag(Subtag.Type type, String name) Deprecated.Create a SubtagSubtag(Subtag.Type type, String name, Subtag prev) Deprecated.Create a Subtag -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return the canonicalized version of this subtagclone()Deprecated.intDeprecated.booleanDeprecated.<T extends Enum<?>>
TgetEnum()Deprecated.Get this subtags Enum, allowing the subtag to be verifiedgetName()Deprecated.Get the subtag valuegetNext()Deprecated.Get the next subtagDeprecated.Get the previous subtaggetType()Deprecated.Get the subtag typeinthashCode()Deprecated.booleanDeprecated.True if this subtag has been deprecatedbooleanisValid()Deprecated.True if this subtag is validstatic SubtagDeprecated.Create a new wildcard subtagtoString()Deprecated.
-
Constructor Details
-
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag -
Subtag
Deprecated.Create a Subtag
-
-
Method Details
-
getType
Deprecated.Get the subtag type -
getName
Deprecated.Get the subtag value -
getPrevious
Deprecated.Get the previous subtag -
getNext
Deprecated.Get the next subtag -
toString
Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
clone
Deprecated. -
isDeprecated
public boolean isDeprecated()Deprecated.True if this subtag has been deprecated -
getEnum
Deprecated.Get this subtags Enum, allowing the subtag to be verified -
isValid
public boolean isValid()Deprecated.True if this subtag is valid -
canonicalize
Deprecated.Return the canonicalized version of this subtag -
newWildcard
Deprecated.Create a new wildcard subtag -
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<Subtag>
-