| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Parser to parse/deparse FIPA XC00070F compliant strings to/from ACL objects
Method Summary | |
static String | byteLengthDecode(String in) Decodes the given String from a ByteLengthEncodedString format (see FIPA ACL definiton) |
static String | byteLengthEncode(String in) Encodes the given String into a ByteLengthEncodedString format (see FIPA ACL definiton) |
static byte[] | deparse(ACL acl) Converts ACL object to byte[] containing FIPA-compliant string encoding of ACL |
static String | getUpToNextWhitespace(String in) Get everything upto the next whitespace ( ' ', '\t', '\r' or '\n' ), or returns the whole String if there is no whitespace |
static void | main(String[] args) Test harness |
static ACL | parse(byte[] acl) Converts byte[] containing FIPA-compliant string encoding of ACL message to an ACL object |
static String | stringLiteralDecode(String in) Decodes the given String from a StringLiteral format (see FIPA ACL definiton) |
static String | stringLiteralEncode(String in) Encodes the given String into a StringLiteral format (see FIPA ACL definiton) |
Method Detail |
public static String byteLengthDecode(String in)
public static String byteLengthEncode(String in)
public static byte[] deparse(ACL acl)
public static String getUpToNextWhitespace(String in)
public static void main(String[] args)
throws java.lang.Throwable
public static ACL parse(byte[] acl)
throws fipaos.parser.ParserException
public static String stringLiteralDecode(String in)
public static String stringLiteralEncode(String in)
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |