|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface for HelpFileManagerAgent.
The HelpFileManagerAgent is the central HelpFile
repository. This agent handles the loading of HelpFiles.
Agent| Fields inherited from interface metaglue.Agent |
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING |
| Method Summary | |
boolean |
add(Collection cHelpFileFullFileNames)
Add a bunch of help files into the HelpFileManager's database. |
boolean |
add(String sHelpFileFullFileName)
Add an XML help file to the database. |
void |
clear()
Clears all the HelpFiles from this database. |
boolean |
contains(HelpFile hFile)
Returns true if this has the HelpFile hFile. |
boolean |
contains(String sKeyword)
Returns true if there exists a loaded HelpFile that has the given keyword. |
boolean |
contains(String sKeyword,
HelpFile hFile)
Returns true if this contains a HelpFile with a given keyword. |
void |
createInitialHelpFiles()
Load the help files specified in the startup file. |
Vector |
get()
Returns all the HelpFiles in this agent as a Vector. |
ArrayList |
get(String sKeyword)
Returns the HelpFile with the given keyword. |
String |
getBasePath()
Gets the directory where all the files are. |
String |
getHelpSetName()
Gets the name of the helpset specified in the startup file. |
ArrayList |
getKeywords()
Returns a Vector of all the keywords that exist in the loaded HelpFiles. |
HelpFile |
getLast()
Returns the last accessed HelpFile. |
HelpFile |
getMost()
Returns the most accessed HelpFile (the most popular). |
Vector |
getSorted()
Returns in sorted order all the HelpFiles in this agent as a Vector. |
ArrayList |
getSubtopicNames()
Gets a Vector of all the subtopic names. |
int |
size()
Returns the number of HelpFiles loaded. |
boolean |
touch(HelpFile hFile)
Update the internal container's counters relating to a given HelpFile. |
| Methods inherited from interface agentland.resource.Managed |
getNeed, replace, replace, resources, yank, yank |
| Methods inherited from interface agentland.util.Good |
getHistory, getHistoryElement, resetHistory |
| Methods inherited from interface metaglue.Agent |
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou |
| Methods inherited from interface agentland.util.Spy |
tell |
| Method Detail |
public ArrayList get(String sKeyword)
throws RemoteException
sKeyword - a String valueVector valueRemoteException - if an error occurs
public HelpFile getLast()
throws RemoteException
HelpFile valueRemoteException - if an error occurs
public HelpFile getMost()
throws RemoteException
HelpFile valueRemoteException - if an error occurs
public ArrayList getKeywords()
throws RemoteException
Vector valueRemoteException - if an error occurs
public ArrayList getSubtopicNames()
throws RemoteException
Vector valueRemoteException - if an error occurs
public boolean contains(HelpFile hFile)
throws RemoteException
hFile - a HelpFile valueboolean valueRemoteException - if an error occurs
public boolean contains(String sKeyword)
throws RemoteException
sKeyword - a String valueboolean valueRemoteException - if an error occurs
public boolean contains(String sKeyword,
HelpFile hFile)
throws RemoteException
sKeyword - a String valuehFile - a HelpFile valueboolean valueRemoteException - if an error occurs
public int size()
throws RemoteException
int valueRemoteException - if an error occurs
public boolean touch(HelpFile hFile)
throws RemoteException
hFile - a HelpFile valueboolean valueRemoteException - if an error occurs
public boolean add(String sHelpFileFullFileName)
throws RemoteException
sHelpFileFullFileName - a String valueboolean valueRemoteException - if an error occurs
public boolean add(Collection cHelpFileFullFileNames)
throws RemoteException
vHelpFileFullFileNames - a Vector valueboolean valueRemoteException - if an error occurs
public String getBasePath()
throws RemoteException
String valueRemoteException - if an error occurs
public String getHelpSetName()
throws RemoteException
String valueRemoteException - if an error occurs
public void createInitialHelpFiles()
throws RemoteException
RemoteException - if an error occurs
public Vector get()
throws RemoteException
Vector valueRemoteException - if an error occurs
public Vector getSorted()
throws RemoteException
Vector valueRemoteException - if an error occurs
public void clear()
throws RemoteException
RemoteException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||