| java.lang.Object org.methodize.nntprss.util.Base64
Base64 | public class Base64 (Code) | | Base64 encoding class - decoding not required for nntp//rss
Based upon Public Domain Base64 class from Robert Harder
See: http://iharder.sourceforge.net/base64/
author: Robert Harder author: rob@iharder.net version: 1.4 |
Field Summary | |
final public static boolean | ENCODE Specify encoding (value is true). |
Method Summary | |
public static String | encodeBytes(byte[] source) Encodes a byte array into Base64 notation. | public static String | encodeBytes(byte[] source, boolean breakLines) Encodes a byte array into Base64 notation. | public static String | encodeBytes(byte[] source, int off, int len, boolean breakLines) Encodes a byte array into Base64 notation. |
ENCODE | final public static boolean ENCODE(Code) | | Specify encoding (value is true).
|
encodeBytes | public static String encodeBytes(byte[] source)(Code) | | Encodes a byte array into Base64 notation.
Equivalen to calling
encodeBytes( source, 0, source.length )
Parameters: source - The data to convert since: 1.4 |
encodeBytes | public static String encodeBytes(byte[] source, boolean breakLines)(Code) | | Encodes a byte array into Base64 notation.
Equivalen to calling
encodeBytes( source, 0, source.length )
Parameters: source - The data to convert Parameters: breakLines - Break lines at 80 characters or less. since: 1.4 |
encodeBytes | public static String encodeBytes(byte[] source, int off, int len, boolean breakLines)(Code) | | Encodes a byte array into Base64 notation.
Parameters: source - The data to convert Parameters: off - Offset in array where conversion should begin Parameters: len - Length of data to convert Parameters: breakLines - Break lines at 80 characters or less. since: 1.4 |
|
|