|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.firstpartners.rp.ui.command.RpCommandLine
public class RpCommandLine
Main point of entry into the system for the command line.
Field Summary | |
---|---|
private KnowledgeSphereManager |
m_manager
Knowledge manager responsable for handling the requests |
Constructor Summary | |
---|---|
RpCommandLine(KnowledgeSphereManager manager)
Creates a new RpCommandLine object. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Called by the user from the command line to do an Add / Search / Feedback etc. |
void |
print(java.lang.String message,
java.io.PrintStream out)
Print the messge to the output stream |
void |
processAdd(java.lang.String info)
Add the location to the system |
void |
processSearch(java.lang.String query)
Search the query into system |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final KnowledgeSphereManager m_manager
Constructor Detail |
---|
public RpCommandLine(KnowledgeSphereManager manager)
manager
- Knowledge manager responsable for the add/search
operationMethod Detail |
---|
public void processAdd(java.lang.String info)
info
- Location to addpublic void processSearch(java.lang.String query)
query
- Query to searchpublic static void main(java.lang.String[] args)
args
- public void print(java.lang.String message, java.io.PrintStream out)
message
- Message to printout
- PrintStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |