Class BASE64EncodingAlgorithm
java.lang.Object
com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
com.sun.xml.fastinfoset.algorithm.BASE64EncodingAlgorithm
- All Implemented Interfaces:
EncodingAlgorithm
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
BuiltInEncodingAlgorithm.WordListener -
Field Summary
Fields inherited from class com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
SPACE_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectconvertFromCharacters(char[] ch, int start, int length) final voidconvertToCharacters(byte[] data, int offset, int length, StringBuffer s) Deprecated, for removal: This API element is subject to removal in a future version.final voidconvertToCharacters(byte[] data, int offset, int length, StringBuilder s) final voidconvertToCharacters(Object data, StringBuilder s) final ObjectdecodeFromBytes(byte[] b, int start, int length) final Objectfinal voidencodeToBytes(Object array, int astart, int alength, byte[] b, int start) voidencodeToOutputStream(Object data, OutputStream s) intgetOctetLengthFromPrimitiveLength(int primitiveLength) final intgetPrimtiveLengthFromOctetLength(int octetLength) Methods inherited from class com.sun.xml.fastinfoset.algorithm.BuiltInEncodingAlgorithm
matchWhiteSpaceDelimnatedWords, removeWhitespaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jvnet.fastinfoset.EncodingAlgorithm
convertToCharacters
-
Constructor Details
-
BASE64EncodingAlgorithm
public BASE64EncodingAlgorithm()
-
-
Method Details
-
decodeFromBytes
public final Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException - Throws:
EncodingAlgorithmException
-
decodeFromInputStream
- Throws:
IOException
-
encodeToOutputStream
- Throws:
IOException
-
convertFromCharacters
-
convertToCharacters
-
getPrimtiveLengthFromOctetLength
public final int getPrimtiveLengthFromOctetLength(int octetLength) throws EncodingAlgorithmException - Specified by:
getPrimtiveLengthFromOctetLengthin classBuiltInEncodingAlgorithm- Throws:
EncodingAlgorithmException
-
getOctetLengthFromPrimitiveLength
public int getOctetLengthFromPrimitiveLength(int primitiveLength) - Specified by:
getOctetLengthFromPrimitiveLengthin classBuiltInEncodingAlgorithm
-
encodeToBytes
- Specified by:
encodeToBytesin classBuiltInEncodingAlgorithm
-
convertToCharacters
-
convertToCharacters
@Deprecated(since="2.1.1", forRemoval=true) public final void convertToCharacters(byte[] data, int offset, int length, StringBuffer s) Deprecated, for removal: This API element is subject to removal in a future version.UseconvertToCharacters(byte[], int, int, StringBuilder)instead.
-
convertToCharacters(byte[], int, int, StringBuilder)instead.