Interface EncodingCore
- All Known Subinterfaces:
ComplexEncoding,Encoding
- All Known Implementing Classes:
Ascii,BuiltInJavaEncoding,External8BitEncodingCore,ExternalEncoding,Iso8859_1,Utf16LE
public interface EncodingCore
Creation-Date: 29.04.2006, 14:57:44
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptiondecode(ByteBuffer text, CodePointBuffer buffer) decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) encode(CodePointBuffer text, ByteBuffer buffer) Encode, but ignore errors.encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) booleanisUnicodeCharacterSupported(int c)
-
Method Details
-
isUnicodeCharacterSupported
boolean isUnicodeCharacterSupported(int c) -
encode
Encode, but ignore errors.- Parameters:
text-buffer-- Returns:
- Throws:
EncodingException
-
decode
- Throws:
EncodingException
-
encode
ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Throws:
EncodingException
-
decode
CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling) throws EncodingException - Throws:
EncodingException
-