|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.purl.sword.client.ClientFactory
public class ClientFactory
Entry point for the SWORD Demonstration Client. This will parse the list of command line options and load either a Command Line client or a GUI client.
| Constructor Summary | |
|---|---|
ClientFactory()
Create a new instance. |
|
| Method Summary | |
|---|---|
ClientType |
createClient(ClientOptions options)
Create a client. |
static void |
main(String[] args)
Start the application and determine which client should be loaded. |
static String |
usage()
Generate a string that specifies the command line options for this program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientFactory()
| Method Detail |
|---|
public static String usage()
public ClientType createClient(ClientOptions options)
options - The list of options extracted from the command line.
public static void main(String[] args)
args - The command line arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||