|
JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jxta.test.AppList
Method Summary | |
void |
addApp(PeerGroupApp app)
Adds the PeerGroupApp to the list |
PeerGroupApp |
getApp(java.lang.String gid)
Returns the PeerGroupApp that matches the requested PeerGroupId String |
java.util.Enumeration |
getApps()
Returns an Enumeration of the PeerGroupApps |
static AppList |
getInstance()
|
java.io.File |
getRootDir()
Returns the Root Directory for storing persistent data |
void |
removeApp(java.lang.String gid)
Removes the PeerGroupApp for the given gid from the list of discovered Groups in the PeerGroup |
void |
setRootDir(java.io.File newRoot)
Sets the new Root Directory |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.io.File getRootDir()
public void setRootDir(java.io.File newRoot)
newRoot
- new root directorypublic PeerGroupApp getApp(java.lang.String gid)
gid
- Gid of the requested PeerGrouppublic void addApp(PeerGroupApp app)
app
- PeerGroupApp to addpublic void removeApp(java.lang.String gid)
gid
- Gid of the PeerGroupApp to removepublic java.util.Enumeration getApps()
public static AppList getInstance()
|
JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |