Class ASCIICharacterSet

  • All Implemented Interfaces:

    public class ASCIICharacterSet
    extends java.lang.Object
    implements CharacterSet
    This class defines properties of the US-ASCII character set
    • Method Detail

      • inCharset

        public final boolean inCharset​(int c)
        Description copied from interface: CharacterSet
        Determine if a character is present in the character set
        Specified by:
        inCharset in interface CharacterSet
        c - the codepoint being tested
        true if the codepoint is supported
      • getCanonicalName

        public java.lang.String getCanonicalName()
        Description copied from interface: CharacterSet
        Get the preferred Java name of the character set. Note that Java in many cases also supports a "historic name".
        Specified by:
        getCanonicalName in interface CharacterSet
        the preferred Java name