-
- 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 ObjectconvertFromCharacters(char[] ch, int start, int length)default voidconvertToCharacters(Object data, StringBuffer s)Deprecated, for removal: This API element is subject to removal in a future version.UseconvertToCharacters(Object, StringBuilder)instead.voidconvertToCharacters(Object data, StringBuilder s)ObjectdecodeFromBytes(byte[] b, int start, int length)ObjectdecodeFromInputStream(InputStream s)voidencodeToOutputStream(Object data, OutputStream s)
-
-
-
Method Detail
-
decodeFromBytes
Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException
- Throws:
EncodingAlgorithmException
-
decodeFromInputStream
Object decodeFromInputStream(InputStream s) throws EncodingAlgorithmException, IOException
-
encodeToOutputStream
void encodeToOutputStream(Object data, OutputStream s) throws EncodingAlgorithmException, IOException
-
convertFromCharacters
Object convertFromCharacters(char[] ch, int start, int length) throws EncodingAlgorithmException
- Throws:
EncodingAlgorithmException
-
convertToCharacters
void convertToCharacters(Object data, StringBuilder s) throws EncodingAlgorithmException
- 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
-
-