JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Class
java.nio.charset.CodingErrorAction

Packages that use CodingErrorAction
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
 

Uses of CodingErrorAction in java.nio.charset
 

Fields in java.nio.charset declared as CodingErrorAction
static CodingErrorAction CodingErrorAction.IGNORE
          Action indicating that a coding error is to be handled by dropping the erroneous input and resuming the coding operation.
static CodingErrorAction 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 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.
 

Methods in java.nio.charset that return CodingErrorAction
 CodingErrorAction CharsetDecoder.malformedInputAction()
          Returns this decoder's current action for malformed-input errors.
 CodingErrorAction CharsetDecoder.unmappableCharacterAction()
          Returns this decoder's current action for unmappable-character errors.
 CodingErrorAction CharsetEncoder.malformedInputAction()
          Returns this encoder's current action for malformed-input errors.
 CodingErrorAction CharsetEncoder.unmappableCharacterAction()
          Returns this encoder's current action for unmappable-character errors.
 

Methods in java.nio.charset with parameters of type CodingErrorAction
 CharsetDecoder CharsetDecoder.onMalformedInput(CodingErrorAction newAction)
          Changes this decoder's action for malformed-input errors.
protected  void CharsetDecoder.implOnMalformedInput(CodingErrorAction newAction)
          Reports a change to this decoder's malformed-input action.
 CharsetDecoder CharsetDecoder.onUnmappableCharacter(CodingErrorAction newAction)
          Changes this decoder's action for unmappable-character errors.
protected  void CharsetDecoder.implOnUnmappableCharacter(CodingErrorAction newAction)
          Reports a change to this decoder's unmappable-character action.
 CharsetEncoder CharsetEncoder.onMalformedInput(CodingErrorAction newAction)
          Changes this encoder's action for malformed-input errors.
protected  void CharsetEncoder.implOnMalformedInput(CodingErrorAction newAction)
          Reports a change to this encoder's malformed-input action.
 CharsetEncoder CharsetEncoder.onUnmappableCharacter(CodingErrorAction newAction)
          Changes this encoder's action for unmappable-character errors.
protected  void CharsetEncoder.implOnUnmappableCharacter(CodingErrorAction newAction)
          Reports a change to this encoder's unmappable-character action.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.