|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.farming.alchemi.Alchemi_Job_Encode_Decode
This class contains methods for encoding/decoding strings for Alchemi jobs
| Field Summary | |
static int |
sizef
|
| Constructor Summary | |
Alchemi_Job_Encode_Decode()
Default Constructor |
|
| Method Summary | |
byte[] |
decode(java.lang.String sencoded)
Returns a byte array after decoding the input string using Base64. |
java.lang.String |
encode(java.io.File f)
Encodes a file f, and returns it in a string of Base64 format |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int sizef
| Constructor Detail |
public Alchemi_Job_Encode_Decode()
| Method Detail |
public java.lang.String encode(java.io.File f)
f - - the file to encode
public byte[] decode(java.lang.String sencoded)
sencoded - - string to be decoded
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||