|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsimtools.ui.HelpFinder
public class HelpFinder
This class avoid to duplicate the same code over and over in all localized files. It works by looking for a help class after the class name passed as argument. Example: "MyPackage.MyClass" => "MyPackage.help.MyClassHelp" It then tries to load help files (html files for instance). Either it fails => program stops with an error message It succeed => return value never null
| Constructor Summary | |
|---|---|
HelpFinder()
|
|
| Method Summary | |
|---|---|
static java.util.ResourceBundle |
get(java.lang.Class c)
|
static HelpBundle |
getMenu(java.lang.Class c)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelpFinder()
| Method Detail |
|---|
public static java.util.ResourceBundle get(java.lang.Class c)
public static HelpBundle getMenu(java.lang.Class c)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||