fipaos.parser.acl.bitefficient
Class Parser
- public class Parser
Class to provide simplified API to make use of BitEfficient ACL encoding
Method Summary |
static byte[] | deparse(ACL msg) Convert the given ACL message into bit-efficient format |
static void | main(String[] args) Test harness - allows byte[] representation of an ACL message to be
produced given an ACL message (assumed to be taken from STD-IN) |
static ACL | parse(byte[] msg) Convert the given byte[] message into an ACL |
deparse
public static byte[] deparse(ACL msg)
- Convert the given ACL message into bit-efficient format
- Parameters:
- msg - The message to convert
- Returns: The byte[] representing the ACL msg, or null
main
public static void main(String[] args)
throws java.lang.Exception
- Test harness - allows byte[] representation of an ACL message to be
produced given an ACL message (assumed to be taken from STD-IN)
parse
public static ACL parse(byte[] msg)
- Convert the given byte[] message into an ACL
- Parameters:
- msg - byte[] representing the ACL msg, or null
- Returns: The message to convert