Packages

object Punycode extends Object with Punycode

Annotations
@native() @JSImport("punycode", JSImport.Namespace)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Punycode
  2. Punycode
  3. Object
  4. Any
  5. AnyRef
  6. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def decode(string: String): String

    The punycode.decode() method converts a Punycode string of ASCII-only characters to the equivalent string of Unicode codepoints.

    The punycode.decode() method converts a Punycode string of ASCII-only characters to the equivalent string of Unicode codepoints.

    string

    a Punycode string of ASCII-only characters

    returns

    the equivalent string of Unicode codepoints.

    Definition Classes
    Punycode
  7. def encode(codePoints: String): String

    The punycode.encode() method converts a string of Unicode codepoints to a Punycode string of ASCII-only characters.

    The punycode.encode() method converts a string of Unicode codepoints to a Punycode string of ASCII-only characters.

    codePoints

    a string of Unicode codepoints

    returns

    a Punycode string of ASCII-only characters.

    Definition Classes
    Punycode
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  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. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toASCII(domain: String): String

    The punycode.toASCII() method converts a Unicode string representing an Internationalized Domain Name to Punycode.

    The punycode.toASCII() method converts a Unicode string representing an Internationalized Domain Name to Punycode. Only the non-ASCII parts of the domain name will be converted. Calling punycode.toASCII() on a string that already only contains ASCII characters will have no effect.

    domain

    the domain name

    returns

    a Unicode string representing an Internationalized Domain Name as Punycode

    Definition Classes
    Punycode
  21. def toLocaleString(): String
    Definition Classes
    Object
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def toUnicode(domain: String): String

    The punycode.toUnicode() method converts a string representing a domain name containing Punycode encoded characters into Unicode.

    The punycode.toUnicode() method converts a string representing a domain name containing Punycode encoded characters into Unicode. Only the Punycode encoded parts of the domain name are be converted.

    domain

    a string representing a domain name containing Punycode encoded characters

    returns

    the Unicode string

    Definition Classes
    Punycode
  24. def ucs2: UCS2

    The UCS2 object

    The UCS2 object

    returns

    The UCS2 object

    Definition Classes
    Punycode
  25. def valueOf(): Any
    Definition Classes
    Object
  26. def version: String

    Returns a string identifying the current Punycode.js version number.

    Returns a string identifying the current Punycode.js version number.

    returns

    a string identifying the current Punycode.js version number.

    Definition Classes
    Punycode
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. 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
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Punycode

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped