Interface EncodingCore
-
- All Known Subinterfaces:
ComplexEncoding,Encoding
- All Known Implementing Classes:
Ascii,BuiltInJavaEncoding,External8BitEncodingCore,ExternalEncoding,Iso8859_1,Utf16LE
public interface EncodingCoreCreation-Date: 29.04.2006, 14:57:44- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer)CodePointBufferdecode(ByteBuffer text, CodePointBuffer buffer, EncodingErrorType errorHandling)ByteBufferencode(CodePointBuffer text, ByteBuffer buffer)Encode, but ignore errors.ByteBufferencode(CodePointBuffer text, ByteBuffer buffer, EncodingErrorType errorHandling)booleanisUnicodeCharacterSupported(int c)
-
-
-
Method Detail
-
isUnicodeCharacterSupported
boolean isUnicodeCharacterSupported(int c)
-
encode
ByteBuffer encode(CodePointBuffer text, ByteBuffer buffer) throws EncodingException
Encode, but ignore errors.- Parameters:
text-buffer-- Returns:
- Throws:
EncodingException
-
decode
CodePointBuffer decode(ByteBuffer text, CodePointBuffer buffer) throws EncodingException
- 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
-
-