public class Base64ContextPooled extends Base64Context
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.pool2.ObjectPool<ByteArrayHolder> |
pool |
| Constructor and Description |
|---|
Base64ContextPooled() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
should be called when context becomes useless
|
byte[] |
ensureBufferHasCapacityLeft(int size)
Ensure, that the output data buffer has enough space left for
size mode bytes. |
available, readResults, syncBufferPos, toStringprotected org.apache.commons.pool2.ObjectPool<ByteArrayHolder> pool
public void close()
throws FileParsingException
Base64Contextclose in class Base64ContextFileParsingExceptionpublic byte[] ensureBufferHasCapacityLeft(int size)
throws FileParsingException
Base64Contextsize mode bytes.ensureBufferHasCapacityLeft in class Base64ContextFileParsingExceptionCopyright © 2017. All rights reserved.