File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/binary Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 * <p>
3737 * This class is thread-safe.
3838 * </p>
39+ * <p>
40+ * You can configure instances with the {@link Builder}.
41+ * <p>
42+ * <pre>
43+ * Base32 base32 = Base32.builder()
44+ * .setDecodingPolicy(DecodingPolicy.LENIENT) // default is lenient
45+ * .setEncodeTable(customEncodeTable)
46+ * .setLineLength(0) // default is none
47+ * .setLineSeparator('\r', '\n') // default is CR LF
48+ * .setPadding('=') // default is =
49+ * .get()
50+ * </pre>
3951 *
4052 * @see <a href="http://www.ietf.org/rfc/rfc4648.txt">RFC 4648</a>
4153 * @since 1.5
Original file line number Diff line number Diff line change 5050 * <p>
5151 * This class is thread-safe.
5252 * </p>
53+ * <p>
54+ * You can configure instances with the {@link Builder}.
55+ * <p>
56+ * <pre>
57+ * Base64 base64 = Base64.builder()
58+ * .setDecodingPolicy(DecodingPolicy.LENIENT) // default is lenient, null resets to default
59+ * .setEncodeTable(customEncodeTable) // default is built in, null resets to default
60+ * .setLineLength(0) // default is none
61+ * .setLineSeparator('\r', '\n') // default is CR LF, null resets to default
62+ * .setPadding('=') // default is =
63+ * .setUrlSafe(false) // default is false
64+ * .get()
65+ * </pre>
5366 *
5467 * @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
5568 * @since 1.0
You can’t perform that action at this time.
0 commit comments