java.lang.Objectjavax.baja.nre.util.Base64
Encode and decode binary data in Base 64.
| Field Summary | |
static int |
HASHHEXLEN
|
static int |
HASHLEN
|
| Constructor Summary | |
Base64()
|
|
| Method Summary | |
static byte[] |
decode(java.lang.String src)
Decode the specified source string. |
static java.lang.String |
decodeToString(java.lang.String s)
Decode the specified source string. |
static java.lang.String |
encode(byte[] buf)
Encode the specified byte array. |
static java.lang.String |
encode(byte[] buf,
int linelen)
Encode the specified byte array. |
static java.lang.String |
encode(java.lang.String s)
Encode the specified string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int HASHLEN
public static final int HASHHEXLEN
| Constructor Detail |
public Base64()
| Method Detail |
public static java.lang.String encode(java.lang.String s)
public static java.lang.String encode(byte[] buf)
public static java.lang.String encode(byte[] buf,
int linelen)
linelen - the number of characters per
line in the output, -1 indicates no line breakspublic static byte[] decode(java.lang.String src)
public static java.lang.String decodeToString(java.lang.String s)
Copyright © 2000-2016 Tridium Inc. All rights reserved.