Package aQute.lib.base64
Class Base64
java.lang.Object
aQute.lib.base64.Base64
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
decode
(Reader rdr, OutputStream out) static final void
decode
(Reader rdr, OutputStream out, int maxLength) static final byte[]
decodeBase64
(File file) static byte[]
static byte[]
decodeBase64
(InputStream in, int maxLength) static byte[]
decodeBase64
(Reader rdr) static byte[]
decodeBase64
(Reader rdr, int maxLength) static final byte[]
decodeBase64
(String string) static void
encode
(File file, Appendable sb) static void
encode
(InputStream in, Appendable sb) static void
encode
(InputStream in, Appendable sb, int maxLength) static String
encodeBase64
(byte[] data) static String
encodeBase64
(File in) static String
static boolean
toData()
toString()
-
Constructor Details
-
Base64
public Base64(byte[] data) -
Base64
-
-
Method Details
-
decodeBase64
-
decodeBase64
- Throws:
IOException
-
decodeBase64
- Throws:
IOException
-
decodeBase64
- Throws:
IOException
-
decodeBase64
- Throws:
IOException
-
decodeBase64
- Throws:
IOException
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
toString
-
encodeBase64
- Throws:
IOException
-
encodeBase64
- Throws:
IOException
-
encodeBase64
-
toData
-
encode
- Throws:
IOException
-
encode
- Throws:
IOException
-
encode
- Throws:
IOException
-
isBase64
-