|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthenplus.HenPlus
public class HenPlus
Field Summary | |
---|---|
static byte |
LINE_EMPTY
|
static byte |
LINE_EXECUTED
|
static byte |
LINE_INCOMPLETE
|
static boolean |
verbose
|
Method Summary | |
---|---|
ConfigurationContainer |
createConfigurationContainer(String configName)
returns an InputStream for a named configuration. |
byte |
executeLine(String line)
add a new line. |
String |
getConfigurationDirectoryInfo()
|
SQLSession |
getCurrentSession()
get current session. |
CommandDispatcher |
getDispatcher()
|
static HenPlus |
getInstance()
|
OutputDevice |
getMessageDevice()
|
ListUserObjectsCommand |
getObjectLister()
|
OutputDevice |
getOutputDevice()
|
String |
getPartialLine()
|
SessionManager |
getSessionManager()
Provides access to the session manager. |
void |
initializeCommands(String[] argv)
|
void |
interrupt()
|
static void |
main(String[] argv)
|
static OutputDevice |
msg()
|
static OutputDevice |
out()
|
void |
popBuffer()
pop the command execution buffer. |
void |
pushBuffer()
push the current state of the command execution buffer, e.g. |
String |
readlineFromFile()
|
void |
run()
|
void |
setCurrentSession(SQLSession session)
set current session. |
void |
setDefaultPrompt()
|
void |
setOutput(OutputDevice out,
OutputDevice msg)
|
void |
setPrompt(String p)
|
void |
terminate()
|
String |
varsubst(String in,
Map variables)
substitute the variables in String 'in', that are in the form $VARNAME or ${VARNAME} with the equivalent value that is found in the Map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean verbose
public static final byte LINE_EXECUTED
public static final byte LINE_EMPTY
public static final byte LINE_INCOMPLETE
Method Detail |
---|
public void initializeCommands(String[] argv)
public void pushBuffer()
public void popBuffer()
public String readlineFromFile() throws IOException
IOException
public byte executeLine(String line)
public String getPartialLine()
public void run()
public void terminate()
public CommandDispatcher getDispatcher()
public SessionManager getSessionManager()
public void setCurrentSession(SQLSession session)
public SQLSession getCurrentSession()
public ListUserObjectsCommand getObjectLister()
public void setPrompt(String p)
public void setDefaultPrompt()
public String varsubst(String in, Map variables)
in
- the input string containing variables to be
substituted (with leading $)variables
- the Map containing the mapping from variable name
to value.public void interrupt()
interrupt
in interface Interruptable
public static HenPlus getInstance()
public void setOutput(OutputDevice out, OutputDevice msg)
public OutputDevice getOutputDevice()
public OutputDevice getMessageDevice()
public static OutputDevice out()
public static OutputDevice msg()
public static final void main(String[] argv) throws Exception
Exception
public ConfigurationContainer createConfigurationContainer(String configName)
public String getConfigurationDirectoryInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |