|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.menu.AbstractMenuNode
com.buglabs.bug.base.AboutMenuAdapter
public class AboutMenuAdapter
| Constructor Summary | |
|---|---|
AboutMenuAdapter(org.osgi.service.log.LogService log)
|
|
| Method Summary | |
|---|---|
java.util.List |
getChildren()
|
static java.util.List |
getFileAsList(java.lang.String filename,
java.lang.String title)
Utility method to return file as list of strings |
static java.lang.String |
getFileAsString(java.lang.String filename)
Utility method to return file as list of strings |
static java.lang.String |
getFirstLine(java.lang.String filename)
Utility method to return first line of a file. |
boolean |
hasChildren()
|
| Methods inherited from class com.buglabs.menu.AbstractMenuNode |
|---|
compareTo, equals, execute, getBusyName, getComparator, getErrorName, getFirstParentOfType, getName, getNextSibling, getParent, getPath, getPreviousSibling, isBusy, isError, setName, setParent, sortChildren, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AboutMenuAdapter(org.osgi.service.log.LogService log)
| Method Detail |
|---|
public static java.util.List getFileAsList(java.lang.String filename,
java.lang.String title)
throws java.io.IOException
filename - title -
java.io.IOException
public static java.lang.String getFileAsString(java.lang.String filename)
throws java.io.IOException
filename - title -
java.io.IOException
public static java.lang.String getFirstLine(java.lang.String filename)
throws java.io.IOException
filename -
java.io.IOExceptionpublic java.util.List getChildren()
getChildren in interface com.buglabs.menu.IMenuNodegetChildren in class com.buglabs.menu.AbstractMenuNodepublic boolean hasChildren()
hasChildren in interface com.buglabs.menu.IMenuNodehasChildren in class com.buglabs.menu.AbstractMenuNodetrue if number of children greater than 0.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||