|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.server.csw.client.Base64
public class Base64
Handles base64 encoding/decoding.
| Method Summary | |
|---|---|
static byte[] |
decode(byte[] data)
This method decodes the given byte array using the base64 encoding specified in RFC-2045 (Section 6.8). |
static String |
decode(String data,
String charset)
This method decodes the given string using the base64 encoding specified in RFC-2045 (Section 6.8). |
static byte[] |
encode(byte[] data)
This method encodes the given byte array using the base64 encoding specified in RFC-2045 (Section 6.8). |
static String |
encode(String data,
String charset)
This method encodes the given string using the base64 encoding specified in RFC-2045 (Section 6.8). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final byte[] encode(byte[] data)
data - the data to encode
public static final String encode(String data,
String charset)
throws UnsupportedEncodingException
data - the string to encodecharset - the character set (if not supplied UTF-8 will be used)
UnsupportedEncodingException - if the exception occurspublic static final byte[] decode(byte[] data)
data - the base64 encoded data.
public static final String decode(String data,
String charset)
throws UnsupportedEncodingException
data - the base64 encoded string.charset - the character set (if not supplied UTF-8 will be used)
UnsupportedEncodingException - if the exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||