|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cli.CLI
public class CLI
Methods to implement a command line interface to the text converter API
Field Summary | |
---|---|
private Bol |
bol
|
private java.lang.String |
filename
|
private static int |
selMenuBar
|
private static int |
selSubMenu
|
private int |
type
|
Fields inherited from interface cli.MenuConstants |
---|
ENTER_DATABASE, ENTER_DBMS_TYPE, ENTER_FILE_PATH, ENTER_HOST, ENTER_PASSWORD, ENTER_TABLE, ENTER_TEXTFILE_TYPE, ENTER_USER_NAME, HELPFUL_MESSAGE, IOTypes, myMenuBar, OUTPUT_ERROR, subMenu1, subMenu2, subMenu3, subMenus, SUCCESS_MESSAGE |
Constructor Summary | |
---|---|
CLI()
Constructor. |
Method Summary | |
---|---|
private void |
CLI_SubMenu(java.lang.String[] subMenu)
Displays sub menu and gets selections. |
private void |
getIOFileInfo()
Prompts for and reads the required File path and Filetype from keyboard. |
void |
init()
This is the only implementation method required for this interface. |
private void |
outputDataToScreen()
Dumps the current system data structure to the screen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static int selMenuBar
private static int selSubMenu
private Bol bol
private java.lang.String filename
private int type
Constructor Detail |
---|
public CLI()
Method Detail |
---|
private void CLI_SubMenu(java.lang.String[] subMenu)
subMenu
- - list of menu items.private void outputDataToScreen()
private void getIOFileInfo()
public void init()
Viewable
init
in interface Viewable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |