|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.autonomy.utilities.CommunityInfoBreaker
This class takes a DRE reference from an agent DRE, which come in the form:
group/user/agent
and separates it to yield
the group, user and agent name that the given record belongs to.
Field Summary | |
static java.lang.String |
SEPARATOR_CHAR
|
Constructor Summary | |
CommunityInfoBreaker()
Constuctor. |
Method Summary | |
void |
breakReference(java.lang.String sRef)
Breaks the given agent DRE reference into group name, user name and agent name. |
java.lang.String |
getAgent()
Returns the agent name from the DRE reference |
java.lang.String |
getGroup()
Returns the group name from the DRE reference |
java.lang.String |
getUser()
Returns the user name from the DRE reference |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SEPARATOR_CHAR
Constructor Detail |
public CommunityInfoBreaker()
Method Detail |
public void breakReference(java.lang.String sRef) throws java.lang.Exception
sRef
- DRE reference string to be 'broken'
thrown
- if DRE reference string is invalid
java.lang.Exception
public java.lang.String getGroup()
public java.lang.String getUser()
public java.lang.String getAgent()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |