public interface EncodingAlgorithm
Modifier and Type | Method and Description |
---|---|
Object |
convertFromCharacters(char[] ch,
int start,
int length) |
void |
convertToCharacters(Object data,
StringBuffer s) |
Object |
decodeFromBytes(byte[] b,
int start,
int length) |
Object |
decodeFromInputStream(InputStream s) |
void |
encodeToOutputStream(Object data,
OutputStream s) |
Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException
EncodingAlgorithmException
Object decodeFromInputStream(InputStream s) throws EncodingAlgorithmException, IOException
void encodeToOutputStream(Object data, OutputStream s) throws EncodingAlgorithmException, IOException
Object convertFromCharacters(char[] ch, int start, int length) throws EncodingAlgorithmException
EncodingAlgorithmException
void convertToCharacters(Object data, StringBuffer s) throws EncodingAlgorithmException
EncodingAlgorithmException
Copyright © 2016 Oracle Corpration. All rights reserved.