|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jade.jademx.util.AclMsgCmp jade.jademx.util.AclMsgCmpTest.AclMsgCmpForTest
private class AclMsgCmpTest.AclMsgCmpForTest
a private class so can test protected AclMsgCmp methods.
Nested Class Summary | |
---|---|
class |
AclMsgCmpTest.AclMsgCmpForTest.VariableForTest
make inner class visible for testing |
Nested classes/interfaces inherited from class jade.jademx.util.AclMsgCmp |
---|
jade.jademx.util.AclMsgCmp.Variable |
Field Summary |
---|
Fields inherited from class jade.jademx.util.AclMsgCmp |
---|
AID_MAP, CONSISTENT_MAP, CONVERSATION_ID_MAP, RANDOM_MAP, REPLY_ID_MAP |
Constructor Summary | |
---|---|
private |
AclMsgCmpTest.AclMsgCmpForTest()
|
Method Summary | |
---|---|
java.lang.String |
filterEmbeddedAddresses(java.lang.String originalContent)
given an ACLMessage content string, removed embedded AID addresses. |
boolean |
hasAtPos(char[] s,
int pos,
char[] sub)
see whether given substring is at given position in given string to test is protected instead of private only for testing purposes. |
java.util.List |
strToVarStrList(java.lang.String s,
java.util.Properties props)
|
Methods inherited from class jade.jademx.util.AclMsgCmp |
---|
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private AclMsgCmpTest.AclMsgCmpForTest()
Method Detail |
---|
public java.util.List strToVarStrList(java.lang.String s, java.util.Properties props)
strToVarStrList
in class jade.jademx.util.AclMsgCmp
s
- string to convertprops
- mapping from variable string names to variable groups
public boolean hasAtPos(char[] s, int pos, char[] sub)
hasAtPos
in class jade.jademx.util.AclMsgCmp
s
- string to see whether has embedded substringpos
- position in s to check for embedded substringsub
- substring to look for
public java.lang.String filterEmbeddedAddresses(java.lang.String originalContent)
filterEmbeddedAddresses
in class jade.jademx.util.AclMsgCmp
originalContent
- content string that want to filter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |