-
- All Known Implementing Classes:
BASE64EncodingAlgorithm,BooleanEncodingAlgorithm,BuiltInEncodingAlgorithm,DoubleEncodingAlgorithm,FloatEncodingAlgorithm,HexadecimalEncodingAlgorithm,IEEE754FloatingPointEncodingAlgorithm,IntegerEncodingAlgorithm,IntEncodingAlgorithm,LongEncodingAlgorithm,ShortEncodingAlgorithm,UUIDEncodingAlgorithm
public interface EncodingAlgorithm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectconvertFromCharacters(char[] ch, int start, int length)default voidconvertToCharacters(java.lang.Object data, java.lang.StringBuffer s)Deprecated, for removal: This API element is subject to removal in a future version.UseconvertToCharacters(Object, StringBuilder)instead.voidconvertToCharacters(java.lang.Object data, java.lang.StringBuilder s)java.lang.ObjectdecodeFromBytes(byte[] b, int start, int length)java.lang.ObjectdecodeFromInputStream(java.io.InputStream s)voidencodeToOutputStream(java.lang.Object data, java.io.OutputStream s)
-
-
-
Method Detail
-
decodeFromBytes
java.lang.Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException- Throws:
EncodingAlgorithmException
-
decodeFromInputStream
java.lang.Object decodeFromInputStream(java.io.InputStream s) throws EncodingAlgorithmException, java.io.IOException- Throws:
EncodingAlgorithmExceptionjava.io.IOException
-
encodeToOutputStream
void encodeToOutputStream(java.lang.Object data, java.io.OutputStream s) throws EncodingAlgorithmException, java.io.IOException- Throws:
EncodingAlgorithmExceptionjava.io.IOException
-
convertFromCharacters
java.lang.Object convertFromCharacters(char[] ch, int start, int length) throws EncodingAlgorithmException- Throws:
EncodingAlgorithmException
-
convertToCharacters
void convertToCharacters(java.lang.Object data, java.lang.StringBuilder s) throws EncodingAlgorithmException- Throws:
EncodingAlgorithmException
-
convertToCharacters
@Deprecated(since="2.1.1", forRemoval=true) default void convertToCharacters(java.lang.Object data, java.lang.StringBuffer s) throws EncodingAlgorithmExceptionDeprecated, for removal: This API element is subject to removal in a future version.UseconvertToCharacters(Object, StringBuilder)instead.- Throws:
EncodingAlgorithmException
-
-