Object

fm.common

UTF_8_BOM

Related Doc: package common

Permalink

object UTF_8_BOM extends Charset

This is a marker Charset that is used to write out UTF-8 BOM encoding in OutputStreamResource

Originally I attempted to have the Charset directly encode the BOM (like the UTF-16 Charsets) but ran into problems with not being able to call into protected methods of the UTF-8 Charset implementation and did not want to copy/paste a bunch of code and/or implement a bunch of hacks to make it work properly.

Linear Supertypes
Charset, Comparable[Charset], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UTF_8_BOM
  2. Charset
  3. Comparable
  4. AnyRef
  5. 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 aliases(): Set[String]

    Permalink
    Definition Classes
    Charset
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def canEncode(): Boolean

    Permalink
    Definition Classes
    Charset
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def compareTo(arg0: Charset): Int

    Permalink
    Definition Classes
    Charset → Comparable
  9. def contains(cs: Charset): Boolean

    Permalink
    Definition Classes
    UTF_8_BOM → Charset
  10. final def decode(arg0: ByteBuffer): CharBuffer

    Permalink
    Definition Classes
    Charset
  11. def displayName(arg0: Locale): String

    Permalink
    Definition Classes
    Charset
  12. def displayName(): String

    Permalink
    Definition Classes
    Charset
  13. final def encode(arg0: String): ByteBuffer

    Permalink
    Definition Classes
    Charset
  14. final def encode(arg0: CharBuffer): ByteBuffer

    Permalink
    Definition Classes
    Charset
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  21. final def isRegistered(): Boolean

    Permalink
    Definition Classes
    Charset
  22. final def name(): String

    Permalink
    Definition Classes
    Charset
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def newDecoder(): CharsetDecoder

    Permalink
    Definition Classes
    UTF_8_BOM → Charset
  25. def newEncoder(): CharsetEncoder

    Permalink
    Definition Classes
    UTF_8_BOM → Charset
  26. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  29. final def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def writeBOM(w: Writer): Unit

    Permalink

    Write the UTF-8 BOM Char ('') to the Writer (which is assumed to be a UTF-8 Writer)

  34. def writeBOM(os: OutputStream): Unit

    Permalink

    Write the UTF-8 BOM Bytes (0xEF 0xBB 0xBF) to the OutputStream

Inherited from Charset

Inherited from Comparable[Charset]

Inherited from AnyRef

Inherited from Any

Ungrouped