public class GTTClient extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
createTM(String name) |
int |
deleteDocument(String docId,
boolean deletePermanently) |
int |
deleteTM(String tmId) |
void |
downloadDocument(String docId,
File outputFile) |
Object[] |
getInformation(String resId,
LocaleId locId)
Gets information about a given resource for a given locale.
|
Object[] |
getResourceList(LocaleId srcLoc)
Retrieves the list of the resources for the current project, for a given source locale.
|
void |
setCredentials(String email,
String password) |
void |
setLanguages(LocaleId srcLoc,
LocaleId trgLoc) |
String |
uploadDocument(String path,
String name,
String tmId) |
public GTTClient(String clientApp)
public int deleteDocument(String docId, boolean deletePermanently)
public int deleteTM(String tmId)
public Object[] getInformation(String resId, LocaleId locId)
resId - the identifier of the resource.locId - the locale identifierpublic Object[] getResourceList(LocaleId srcLoc)
srcLoc - the source locale.Copyright © 2019. All rights reserved.