Object

com.twitter.io

Charsets

Related Doc: package io

Permalink

object Charsets

Provides a set of frequently used java.nio.charset.Charset instances and the utilities related to them.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Charsets
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def decoder(charset: Charset): CharsetDecoder

    Permalink

    Returns a cached thread-local java.nio.charset.CharsetDecoder for the specified charset.

    Returns a cached thread-local java.nio.charset.CharsetDecoder for the specified charset.

    Note

    Malformed and unmappable input is silently replaced see java.nio.charset.CodingErrorAction.REPLACE

  7. def encoder(charset: Charset): CharsetEncoder

    Permalink

    Returns a cached thread-local java.nio.charset.CharsetEncoder for the specified charset.

    Returns a cached thread-local java.nio.charset.CharsetEncoder for the specified charset.

    Note

    Malformed and unmappable input is silently replaced see java.nio.charset.CodingErrorAction.REPLACE

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. val Iso8859_1: Charset

    Permalink

    ISO Latin Alphabet No.

    ISO Latin Alphabet No. 1, also known as ISO-LATIN-1

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.ISO_8859_1

  2. val UsAscii: Charset

    Permalink

    7-bit ASCII, also known as ISO646-US or the Basic Latin block of the Unicode character set

    7-bit ASCII, also known as ISO646-US or the Basic Latin block of the Unicode character set

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.US_ASCII

  3. val Utf16: Charset

    Permalink

    16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark

    16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.UTF_16

  4. val Utf16BE: Charset

    Permalink

    16-bit UTF (UCS Transformation Format) whose byte order is big-endian

    16-bit UTF (UCS Transformation Format) whose byte order is big-endian

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.UTF_16BE

  5. val Utf16LE: Charset

    Permalink

    16-bit UTF (UCS Transformation Format) whose byte order is little-endian

    16-bit UTF (UCS Transformation Format) whose byte order is little-endian

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.UTF_16LE

  6. val Utf8: Charset

    Permalink

    8-bit UTF (UCS Transformation Format)

    8-bit UTF (UCS Transformation Format)

    Annotations
    @deprecated
    Deprecated

    (Since version 2016-08-23) Use java.nio.charset.StandardCharsets.UTF_8

Inherited from AnyRef

Inherited from Any

Ungrouped