java.lang.Object | |
↳ | com.atlassian.jira.util.Base64InputStreamConsumer |
Basic slurp implementation of an InputStream Consumer which provides Base64 encoded output. Note that this reads the whole input into memory and should not be used for data that may grow big.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates this encoder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gives the Base64 encoded String only if the consume method ran without exception.
|
[Expand]
Inherited Methods | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||
From interface
com.atlassian.jira.util.Consumer
|
Creates this encoder. Set chunked to true if you want a 72 character formatted ("chunked") String or false if you don't need formatting.
chunked | whether you want a chunked Base64 encoded output. |
---|
Gives the Base64 encoded String only if the consume method ran without exception. Otherwise returns the empty String.