Class Subtag

    • Constructor Detail

      • Subtag

        public Subtag​(Language language)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Script script)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Region region)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Variant variant)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Extlang extlang)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Singleton singleton)
        Deprecated.
        Create a Subtag
      • Subtag

        public Subtag​(Subtag.Type type,
                      String name)
        Deprecated.
        Create a Subtag
    • Method Detail

      • getType

        public Subtag.Type getType()
        Deprecated.
        Get the subtag type
      • getName

        public String getName()
        Deprecated.
        Get the subtag value
      • getPrevious

        public Subtag getPrevious()
        Deprecated.
        Get the previous subtag
      • getNext

        public Subtag getNext()
        Deprecated.
        Get the next subtag
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • clone

        public Subtag clone()
        Deprecated.
      • isDeprecated

        public boolean isDeprecated()
        Deprecated.
        True if this subtag has been deprecated
      • getEnum

        public <T extends Enum<?>> T getEnum()
        Deprecated.
        Get this subtags Enum, allowing the subtag to be verified
      • isValid

        public boolean isValid()
        Deprecated.
        True if this subtag is valid
      • canonicalize

        public Subtag canonicalize()
        Deprecated.
        Return the canonicalized version of this subtag
      • newWildcard

        public static Subtag newWildcard()
        Deprecated.
        Create a new wildcard subtag