java.lang.Object |
↳ |
java.nio.charset.CharsetEncoder |
|
↳ |
sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder |
Known Direct Subclasses
|
Class Overview
An abstract base class for subclasses which encodes
IBM double byte host encodings such as ibm code
pages 942,943,948, etc.
Summary
Public Methods |
boolean
|
canEncode(char ch)
Returns true if the given character can be converted to the
target character encoding.
|
[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
char
REPLACE_CHAR
Constant Value:
65533
(0x0000fffd)
Fields
Protected Constructors
protected
DBCS_IBM_EBCDIC_Encoder
(Charset cs)
Public Methods
public
boolean
canEncode
(char ch)
Returns true if the given character can be converted to the
target character encoding.
Protected Methods
protected
CoderResult
encodeLoop
(CharBuffer src, ByteBuffer dst)
protected
void
implReset
()