Package org.jvnet.fastinfoset
Interface EncodingAlgorithm
-
public interface EncodingAlgorithm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
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, StringBuffer s) throws EncodingAlgorithmException
- Throws:
EncodingAlgorithmException
-
-