public class DefaultScriptingHelpManager extends java.lang.Object implements ScriptingHelpManager
ScriptingHelpManager.ScriptingHelpClass, ScriptingHelpManager.ScriptingHelpMethod| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.io.File> |
helpRoots |
protected HelpSet |
helpSet |
protected IndexerHelper |
indexer |
protected static Logger |
logger |
protected MethodList |
methodsList |
| Constructor and Description |
|---|
DefaultScriptingHelpManager(ScriptingManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMethods(java.net.URL methodsfile) |
boolean |
existsHelp(java.lang.String name)
Checks if exists a help module from the application's helpset with the
same identificator
|
java.util.Map<java.lang.String,ScriptingHelpManager.ScriptingHelpMethod> |
findMethods(java.lang.String text)
Gets the methods of all the classes includes on the JavaDocs which
matches with the text provided
|
ScriptingHelpManager.ScriptingHelpClass |
getHelpClass(java.lang.String name) |
java.util.List<ScriptingHelpManager.ScriptingHelpClass> |
getHelpClasses() |
java.util.List<java.io.File> |
getHelpRoots() |
HelpSet |
getHelpSet()
Returns the HelpSet with the Help information of the JavaDocs registered
|
java.util.List<ScriptingHelpManager.ScriptingHelpMethod> |
getMethods()
Gets a List of all the
ScriptingHelpManager.ScriptingHelpMethods contained on the
JavaDocs |
boolean |
importJavadoc(java.lang.String name,
java.io.File folder,
SimpleTaskStatus status)
Adds a new help module to the application's helpset with the
identificator specified
|
void |
loadHelps() |
java.net.URL |
makeURL(java.io.File helpsetfolder,
java.net.URL sourceurl) |
void |
reloadHelp()
Reloads the Help information of the JavaDocs
|
boolean |
removeHelp(java.lang.String name)
Removes a help module from the application's helpset
|
protected static final Logger logger
protected HelpSet helpSet
protected IndexerHelper indexer
protected MethodList methodsList
protected java.util.List<java.io.File> helpRoots
public DefaultScriptingHelpManager(ScriptingManager manager)
public void loadHelps()
public java.net.URL makeURL(java.io.File helpsetfolder,
java.net.URL sourceurl)
makeURL in interface ScriptingHelpManagerpublic void reloadHelp()
ScriptingHelpManagerreloadHelp in interface ScriptingHelpManagerpublic boolean existsHelp(java.lang.String name)
ScriptingHelpManagerexistsHelp in interface ScriptingHelpManagername - String with the identificator of the module help to checkpublic boolean removeHelp(java.lang.String name)
ScriptingHelpManagerremoveHelp in interface ScriptingHelpManagername - String with the identificator of the module help to removepublic void addMethods(java.net.URL methodsfile)
addMethods in interface ScriptingHelpManagerpublic java.util.List<ScriptingHelpManager.ScriptingHelpMethod> getMethods()
ScriptingHelpManagerScriptingHelpManager.ScriptingHelpMethods contained on the
JavaDocsgetMethods in interface ScriptingHelpManagerScriptingHelpManager.ScriptingHelpMethods on all the
ScriptingHelpAPIs importedpublic ScriptingHelpManager.ScriptingHelpClass getHelpClass(java.lang.String name)
getHelpClass in interface ScriptingHelpManagerpublic java.util.List<ScriptingHelpManager.ScriptingHelpClass> getHelpClasses()
getHelpClasses in interface ScriptingHelpManagerpublic java.util.Map<java.lang.String,ScriptingHelpManager.ScriptingHelpMethod> findMethods(java.lang.String text)
ScriptingHelpManagerfindMethods in interface ScriptingHelpManagerpublic java.util.List<java.io.File> getHelpRoots()
getHelpRoots in interface ScriptingHelpManagerpublic HelpSet getHelpSet()
ScriptingHelpManagergetHelpSet in interface ScriptingHelpManagerpublic boolean importJavadoc(java.lang.String name,
java.io.File folder,
SimpleTaskStatus status)
ScriptingHelpManagerimportJavadoc in interface ScriptingHelpManagername - String with the identificator of the module help to add