org.apache.ws.commons.util
public static class Base64.SAXEncoder extends Base64.Encoder
Constructor Summary | |
---|---|
SAXEncoder(char[] pBuffer, int pWrapSize, String pSep, ContentHandler pHandler) Creates a new instance. |
Method Summary | |
---|---|
protected void | writeBuffer(char[] pChars, int pOffset, int pLen) Writes to the content handler. |
Parameters: pBuffer The encoders buffer. pWrapSize A nonzero value indicates, that a line wrap should be performed after the given number of characters. The value must be a multiple of 4. Zero indicates, that no line wrap should be performed. pSep The eol sequence being used to terminate a line in case of line wraps. May be null, in which case the default value LINE_SEPARATOR is being used. pHandler The target handler.
Throws: SAXIOException Writing to the content handler caused a SAXException.