|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.uzh.ifi.attempto.base.APE
public class APE
This class is used to get an instance of ACEParser by parameters. Following parameters are recognized: - apetype Specify the type of APE, should be one of "local", "socket" and "webservice". - apecommand Location of ape.exe, used by APELocal when apetype is "local". - apehost Host name of APE socket server, used by APESocket when apetype is "socket". - apeport Port number of APE socket server, used by APESocket whe apetype is "socket". - apewebservice APE webservice URL, use by APEWebservice when apetype is "webservice".
| Constructor Summary | |
|---|---|
APE()
|
|
| Method Summary | |
|---|---|
static ch.uzh.ifi.attempto.ape.ACEParser |
getAPELocal(java.lang.String apeCommand)
Get a APELocal instance with specified ape.exe location |
static ch.uzh.ifi.attempto.ape.ACEParser |
getAPESocket(java.lang.String host,
int port)
Get a APESocket instance with specified host and port |
static ch.uzh.ifi.attempto.ape.ACEParser |
getAPEWebservice(java.lang.String url)
Get a APEWebservice instance with specified host and port |
static ch.uzh.ifi.attempto.ape.ACEParser |
getParser()
Get a ACEParser instance with default parameters. |
static ch.uzh.ifi.attempto.ape.ACEParser |
getParser(java.util.Map<java.lang.String,java.lang.String> parameters)
Get a ACEParser instance by parameters. |
static void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Set default parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public APE()
| Method Detail |
|---|
public static ch.uzh.ifi.attempto.ape.ACEParser getParser(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - The parameters set in servlet web.xml.
public static ch.uzh.ifi.attempto.ape.ACEParser getParser()
public static void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - The parameters to set.public static ch.uzh.ifi.attempto.ape.ACEParser getAPELocal(java.lang.String apeCommand)
apeCommand - The location of ape.exe.
public static ch.uzh.ifi.attempto.ape.ACEParser getAPESocket(java.lang.String host,
int port)
host - The host of APE socket server.port - The port of APE socket server.
public static ch.uzh.ifi.attempto.ape.ACEParser getAPEWebservice(java.lang.String url)
url - The URL of APE webservice.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||