|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.org.ogsadai.tools.EditorBase
public abstract class EditorBase
Base class for server editors.
| Field Summary | |
|---|---|
protected java.io.File |
mConfigDir
Configuration files directory. |
| Constructor Summary | |
|---|---|
EditorBase()
|
|
| Method Summary | |
|---|---|
void |
initialize(java.io.File configDir)
Initialize. |
abstract void |
printSyntax()
Print command-line syntax. |
void |
runClient(java.lang.String[] args)
Run the client. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File mConfigDir
| Constructor Detail |
|---|
public EditorBase()
| Method Detail |
|---|
public void initialize(java.io.File configDir)
throws FileNotFoundException
initialize in interface ServerEditorconfigDir - Configuration directory.
java.lang.IllegalArgumentException - If configDir is null.
FileNotFoundException - If configDir doesn't exist.public abstract void printSyntax()
public void runClient(java.lang.String[] args)
throws java.lang.Exception
args - Command-line arguments.
java.lang.Exception - If any problems arise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||