|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.invocation.TBase64EncodingStrategy
public class TBase64EncodingStrategy
TBase64EncodingStrategy implements an encoding strategy for base64 which is the most common used encoding for userid, password submission.
Constructor Summary | |
---|---|
protected |
TBase64EncodingStrategy()
This class isn't meant to be instantiated. |
Method Summary | |
---|---|
byte[] |
decode(byte[] data)
This method decodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8). |
java.lang.String |
decode(java.lang.String str)
This method decodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8). |
byte[] |
encode(byte[] data)
This method encodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8). |
java.lang.String |
encode(java.lang.String str)
This method encodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8). |
static TBase64EncodingStrategy |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TBase64EncodingStrategy()
Method Detail |
---|
public static TBase64EncodingStrategy getInstance()
public java.lang.String encode(java.lang.String str)
encode
in interface TEncodingStrategy
str
- the string
public byte[] encode(byte[] data)
encode
in interface TEncodingStrategy
data
- the data
public java.lang.String decode(java.lang.String str)
decode
in interface TEncodingStrategy
str
- the base64-encoded string.
public byte[] decode(byte[] data)
decode
in interface TEncodingStrategy
data
- the base64-encoded data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |