public class TaaSClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TaaSClient.FormatError |
static class |
TaaSClient.Unauthorized |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTRACTION_METHOD
1-statistical terminology annotation, 2- statistical terminology annotation with references to
terminology entries, 4- Terminology DB based terminology annotation (fast)
|
static java.lang.String |
M_PASSWORD
Machine password
|
static java.lang.String |
M_USERNAME
Machine user name
|
static java.lang.String |
WS_URL |
Constructor and Description |
---|
TaaSClient() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiKey() |
void |
init() |
boolean |
isAllowed() |
boolean |
isApiKeyStoredTemporarily() |
void |
setApiKey(java.lang.String key,
boolean temporary) |
public static final java.lang.String WS_URL
public static final java.lang.String M_USERNAME
public static final java.lang.String M_PASSWORD
public static final java.lang.String EXTRACTION_METHOD
public void init() throws java.lang.Exception
java.lang.Exception
public java.lang.String getApiKey()
public void setApiKey(java.lang.String key, boolean temporary) throws java.lang.Exception
java.lang.Exception
public boolean isApiKeyStoredTemporarily()
public boolean isAllowed()