Packages

trait Punycode extends Object

The version of the punycode module bundled in Node.js is being deprecated. In a future major version of Node.js this module will be removed. Users currently depending on the punycode module should switch to using the userland-provided Punycode.js module instead.

Annotations
@JSType() @native()
See also

https://nodejs.org/dist/latest-v7.x/docs/api/punycode.html

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Punycode
  2. Object
  3. Any
  4. AnyRef
  5. 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()
  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.

  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.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. 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

  22. def toLocaleString(): String
    Definition Classes
    Object
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. 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

  25. def ucs2: UCS2

    The UCS2 object

    The UCS2 object

    returns

    The UCS2 object

  26. def valueOf(): Any
    Definition Classes
    Object
  27. 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.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped