Class MainMenu
java.lang.Object
de.christofreichardt.jca.shamirsdemo.AbstractMenu
de.christofreichardt.jca.shamirsdemo.MainMenu
- All Implemented Interfaces:
de.christofreichardt.diagnosis.Traceable,Menu
public class MainMenu extends AbstractMenu
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMainMenu.MainCommandNested classes/interfaces inherited from interface de.christofreichardt.jca.shamirsdemo.Menu
Menu.Command -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Map<String,Menu.Command>computeShortCutMap()<T extends Menu.Command>
voidexecute(T command)booleanisExit()voidprint()Methods inherited from class de.christofreichardt.jca.shamirsdemo.AbstractMenu
getCurrentTracer, readCommand
-
Constructor Details
-
MainMenu
-
-
Method Details
-
print
public void print() -
computeShortCutMap
-
execute
public <T extends Menu.Command> void execute(T command) throws IOException, GeneralSecurityException- Throws:
IOExceptionGeneralSecurityException
-
isExit
public boolean isExit()
-