Package net.officefloor.server.aws.sam
Class Base64Buffer
- java.lang.Object
-
- net.officefloor.server.aws.sam.Base64Buffer
-
public class Base64Buffer extends java.lang.Object
Buffer to capture the output data as a Base64 string.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description Base64Buffer()
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBase64Text()
Obtains the Base64 text.java.io.OutputStream
getOutputStream()
Obtains theOutputStream
to write data.
-
-
-
Method Detail
-
getOutputStream
public java.io.OutputStream getOutputStream()
Obtains theOutputStream
to write data.- Returns:
OutputStream
to write data.
-
getBase64Text
public java.lang.String getBase64Text() throws java.io.IOException
Obtains the Base64 text.- Returns:
- Base64 text.
- Throws:
java.io.IOException
- If fails to obtain Base64.
-
-