- All Known Implementing Classes:
BASE64EncodingAlgorithm
,BooleanEncodingAlgorithm
,BuiltInEncodingAlgorithm
,DoubleEncodingAlgorithm
,FloatEncodingAlgorithm
,HexadecimalEncodingAlgorithm
,IEEE754FloatingPointEncodingAlgorithm
,IntegerEncodingAlgorithm
,IntEncodingAlgorithm
,LongEncodingAlgorithm
,ShortEncodingAlgorithm
,UUIDEncodingAlgorithm
public interface EncodingAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptionconvertFromCharacters
(char[] ch, int start, int length) default void
convertToCharacters
(Object data, StringBuffer s) Deprecated, for removal: This API element is subject to removal in a future version.void
convertToCharacters
(Object data, StringBuilder s) decodeFromBytes
(byte[] b, int start, int length) void
encodeToOutputStream
(Object data, OutputStream s)
-
Method Details
-
decodeFromBytes
- Throws:
EncodingAlgorithmException
-
decodeFromInputStream
-
encodeToOutputStream
void encodeToOutputStream(Object data, OutputStream s) throws EncodingAlgorithmException, IOException -
convertFromCharacters
- Throws:
EncodingAlgorithmException
-
convertToCharacters
- Throws:
EncodingAlgorithmException
-
convertToCharacters
@Deprecated(since="2.1.1", forRemoval=true) default void convertToCharacters(Object data, StringBuffer s) throws EncodingAlgorithmException Deprecated, for removal: This API element is subject to removal in a future version.UseconvertToCharacters(Object, StringBuilder)
instead.- Throws:
EncodingAlgorithmException
-
convertToCharacters(Object, StringBuilder)
instead.