Class Overview
Base class for different flavors of UTF-16 encoders
Summary
[Expand]
Inherited Methods |
From class
java.nio.charset.CharsetEncoder
final
float
|
averageBytesPerChar()
|
boolean
|
canEncode(CharSequence arg0)
|
boolean
|
canEncode(char arg0)
|
final
Charset
|
charset()
|
final
ByteBuffer
|
encode(CharBuffer arg0)
|
final
CoderResult
|
encode(CharBuffer arg0, ByteBuffer arg1, boolean arg2)
|
abstract
CoderResult
|
encodeLoop(CharBuffer arg0, ByteBuffer arg1)
|
final
CoderResult
|
flush(ByteBuffer arg0)
|
CoderResult
|
implFlush(ByteBuffer arg0)
|
void
|
implOnMalformedInput(CodingErrorAction arg0)
|
void
|
implOnUnmappableCharacter(CodingErrorAction arg0)
|
void
|
implReplaceWith(byte[] arg0)
|
void
|
implReset()
|
boolean
|
isLegalReplacement(byte[] arg0)
|
CodingErrorAction
|
malformedInputAction()
|
final
float
|
maxBytesPerChar()
|
final
CharsetEncoder
|
onMalformedInput(CodingErrorAction arg0)
|
final
CharsetEncoder
|
onUnmappableCharacter(CodingErrorAction arg0)
|
final
CharsetEncoder
|
replaceWith(byte[] arg0)
|
final
byte[]
|
replacement()
|
final
CharsetEncoder
|
reset()
|
CodingErrorAction
|
unmappableCharacterAction()
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Constants
protected
static
final
int
BIG
Constant Value:
0
(0x00000000)
protected
static
final
char
BYTE_ORDER_MARK
Constant Value:
65279
(0x0000feff)
protected
static
final
int
LITTLE
Constant Value:
1
(0x00000001)
protected
static
final
char
REVERSED_MARK
Constant Value:
65534
(0x0000fffe)
Protected Constructors
protected
UnicodeEncoder
(Charset cs, int bo, boolean m)
Public Methods
public
boolean
canEncode
(char c)
Protected Methods
protected
CoderResult
encodeLoop
(CharBuffer src, ByteBuffer dst)
protected
void
implReset
()