abstract class BitsCharsetEncoder extends IsResetMixin
- Alphabetic
- By Inheritance
- BitsCharsetEncoder
- IsResetMixin
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BitsCharsetEncoder()
Abstract Value Members
- abstract def averageBitsPerChar(): Float
- abstract def averageBytesPerChar(): Float
- abstract def bitsCharset: BitsCharset
- abstract def encode(in: CharBuffer, out: ByteBuffer, endOfInput: Boolean): CoderResult
-
abstract
def
encodeLoop(in: CharBuffer, out: ByteBuffer): CoderResult
- Attributes
- protected
- abstract def flush(out: ByteBuffer): CoderResult
-
abstract
def
isMandatoryAlignmentNeeded(): Boolean
Used to determine if the data input stream must be aligned (if not already) for this encoding.
Used to determine if the data input stream must be aligned (if not already) for this encoding. Based on whether the coder has been reset. If the coder has not been reset, it is assumed we are in the middle of encoding many characters, and so no mandatory alignment is needed. However, if the coder was reset, then it is assumed that we may be unaligned at the start of encoding characters, and so we must check if we are mandatory aligned.
- abstract def malformedInputAction(): CodingErrorAction
- abstract def maxBitsPerChar(): Float
- abstract def maxBytesPerChar(): Float
- abstract def onMalformedInput(action: CodingErrorAction): BitsCharsetEncoder
- abstract def onUnmappableCharacter(action: CodingErrorAction): BitsCharsetEncoder
- abstract def replaceWith(newReplacement: Array[Byte]): BitsCharsetEncoder
- abstract def replacement(): Array[Byte]
- abstract def reset(): BitsCharsetEncoder
- abstract def unmappableCharacterAction(): CodingErrorAction
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isReset: Boolean
True if the decoder has not decoded anything since the last reset call.
True if the decoder has not decoded anything since the last reset call. False if decodeLoop has been called.
Use to control things that we only want to check once per reset of the decoder.
- Definition Classes
- IsResetMixin
-
final
def
isReset_=(v: Boolean): Unit
Allow assignment to isReset only in derived classes
Allow assignment to isReset only in derived classes
- Attributes
- protected
- Definition Classes
- IsResetMixin
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()