java::io::CodingErrorAction Class Reference

Inheritance diagram for java::io::CodingErrorAction:

Inheritance graph
java::lang::Object
[legend]
Collaboration diagram for java::io::CodingErrorAction:

Collaboration graph
java::lang::Objectjava::lang::Stringjava::lang::Interfacejava::lang::ObjectRefjava::lang::Comparable
[legend]

List of all members.


Detailed Description

A typesafe enumeration for coding-error actions.

Instances of this class are used to specify how malformed-input and unmappable-character errors are to be handled by charset decoders and encoders.

Author:
Mark Reinhold

JSR-51 Expert Group

Version:
1.5, 03/01/23
Since:
1.4

Public Member Functions

 CodingErrorAction ()
virtual String toString () const
 Returns a string describing this action.

Static Public Attributes

static CodingErrorAction IGNORE
 Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation.
static CodingErrorAction REPLACE
 Action indicating that a coding error is to be handled by dropping the erroneous input, appending the coder's replacement value to the output buffer, and resuming the coding operation.
static CodingErrorAction REPORT
 Action indicating that a coding error is to be reported, either by returning a CoderResult object or by throwing a CharacterCodingException, whichever is appropriate for the method implementing the coding process.

Constructor & Destructor Documentation

java::io::CodingErrorAction::CodingErrorAction (  ) 


Member Function Documentation

virtual String java::io::CodingErrorAction::toString (  )  const [virtual]

Returns a string describing this action.

Returns:
A descriptive string

Reimplemented from java::lang::Object.


Member Data Documentation

CodingErrorAction java::io::CodingErrorAction::IGNORE [static]

Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation.

CodingErrorAction java::io::CodingErrorAction::REPLACE [static]

Action indicating that a coding error is to be handled by dropping the erroneous input, appending the coder's replacement value to the output buffer, and resuming the coding operation.

CodingErrorAction java::io::CodingErrorAction::REPORT [static]

Action indicating that a coding error is to be reported, either by returning a CoderResult object or by throwing a CharacterCodingException, whichever is appropriate for the method implementing the coding process.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:29 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3