public class Lingo24Connector extends BaseConnector
| Constructor and Description |
|---|
Lingo24Connector() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this connector.
|
String |
getName()
Gets the name of the connector.
|
Parameters |
getParameters()
Gets the current parameters of this connector.
|
String |
getSettingsDisplay()
Gets a display representation of the current settings for this connector.
|
void |
open()
Opens this query engine.
|
int |
query(String plainText)
Starts a query for a give plain text.
|
int |
query(TextFragment fragment)
Queries the Lingo24 Premium MT API.
|
void |
setParameters(IParameters params)
Sets the parameters for opening and querying this connector.
|
batchLeverage, batchLeverageUsingBatchQuery, batchQuery, batchQueryText, clearAttributes, getNoQueryThreshold, getSourceLanguage, getTargetLanguage, getWeight, hasNext, leverage, leverageUsingBatchQuery, next, removeAttribute, setAttribute, setLanguages, setNoQueryThreshold, setRootDirectory, setWeight, toInternalCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic String getName()
IQuerypublic String getSettingsDisplay()
IQuerypublic void close()
IQuerypublic void open()
IQuerypublic int query(String plainText)
IQueryplainText - text to query.public int query(TextFragment fragment)
fragment - the fragment to query.public Parameters getParameters()
IQuerygetParameters in interface IQuerygetParameters in class BaseConnectorpublic void setParameters(IParameters params)
IQuerysetParameters in interface IQuerysetParameters in class BaseConnectorparams - the parameters to set.Copyright © 2021. All rights reserved.