|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.security.codec.Base64
public class Base64
Handles base64 encoding/decoding.
| Method Summary | |
|---|---|
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 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 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 occurs
public static final String decode(String data,
String charset)
throws IOException
data - the base64 encoded string.charset - the character set (if not supplied UTF-8 will be used)
IOException
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||