Packages

o

fm.common

ASCIIUtil

object ASCIIUtil

Source
ASCIIUtil.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ASCIIUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MaxASCIIChar: Char
  5. val MaxASCIICodePoint: Int
  6. val MaxASCIIExpandedLength: Int

    The maximum number of ASCII characters a single Unicode character will expand to

    The maximum number of ASCII characters a single Unicode character will expand to

    All examples that expands to 4 characters:

    '\u247D' => "(10)" // ⑽ [PARENTHESIZED NUMBER TEN] '\u247E' => "(11)" // ⑾ [PARENTHESIZED NUMBER ELEVEN] '\u247F' => "(12)" // ⑿ [PARENTHESIZED NUMBER TWELVE] '\u2480' => "(13)" // ⒀ [PARENTHESIZED NUMBER THIRTEEN] '\u2481' => "(14)" // ⒁ [PARENTHESIZED NUMBER FOURTEEN] '\u2482' => "(15)" // ⒂ [PARENTHESIZED NUMBER FIFTEEN] '\u2483' => "(16)" // ⒃ [PARENTHESIZED NUMBER SIXTEEN] '\u2484' => "(17)" // ⒄ [PARENTHESIZED NUMBER SEVENTEEN] '\u2485' => "(18)" // ⒅ [PARENTHESIZED NUMBER EIGHTEEN] '\u2486' => "(19)" // ⒆ [PARENTHESIZED NUMBER NINETEEN] '\u2487' => "(20)" // ⒇ [PARENTHESIZED NUMBER TWENTY]

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def convertToASCII(s: String): String

    Converts Accented Characters to the Non-Accented Equivalent String.

    Converts Accented Characters to the Non-Accented Equivalent String.

    Note: This expands stuff like Æ to AE)

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toASCIIChar(c: Char): Char

    Converts Accented Characters to the Non-Accented Equivalent Char.

    Converts Accented Characters to the Non-Accented Equivalent Char.

    Note: This only works for when there is a 1 to 1 Character equivalence (i.e. it does not work for stuff like Æ which needs to expand to AE)

  20. def toASCIICharsOrNull(c: Char): String

    Converts Accented Characters to the Non-Accented Equivalent String (or null if already ASCII or no conversion exists).

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped