| Package | Description |
|---|---|
| org.digitalmediaserver.crowdin.api | |
| org.digitalmediaserver.crowdin.api.request |
| Modifier and Type | Method and Description |
|---|---|
static StorageInfo |
CrowdinAPI.createStorage(org.apache.http.impl.client.CloseableHttpClient httpClient,
String filename,
org.apache.http.HttpEntity entity,
String token,
org.apache.maven.plugin.logging.Log logger)
Creates a new storage on Crowdin by uploading content.
|
| Modifier and Type | Method and Description |
|---|---|
static List<StorageInfo> |
CrowdinAPI.listStorages(org.apache.http.impl.client.CloseableHttpClient httpClient,
String token,
org.apache.maven.plugin.logging.Log logger)
Lists the Crowdin storages for the current API user.
|
| Modifier and Type | Method and Description |
|---|---|
static FileInfo |
CrowdinAPI.createFile(org.apache.http.impl.client.CloseableHttpClient httpClient,
long projectId,
StorageInfo storage,
String name,
FileType type,
Long branchId,
Long folderId,
String title,
String context,
String[] excludedTargetLanguages,
FileExportOptions exportOptions,
FileImportOptions importOptions,
Integer parserVersion,
String token,
org.apache.maven.plugin.logging.Log logger)
Asks Crowdin to create a new file from a file that has already been
uploaded to storage.
|
static void |
CrowdinAPI.deleteStorage(org.apache.http.impl.client.CloseableHttpClient httpClient,
StorageInfo storage,
String token,
org.apache.maven.plugin.logging.Log logger)
Deletes the specified storage at Crowdin.
|
static FileInfo |
CrowdinAPI.updateFile(org.apache.http.impl.client.CloseableHttpClient httpClient,
long projectId,
long fileId,
StorageInfo storage,
UpdateOption updateOption,
FileImportOptions importOptions,
FileExportOptions exportOptions,
Boolean replaceModifiedContext,
String token,
org.apache.maven.plugin.logging.Log logger)
Asks Crowdin to update an existing file from a file that has already been
uploaded to storage.
|
| Constructor and Description |
|---|
CreateFileRequest(StorageInfo storage,
String name)
Creates a new instance with the specified storage and name.
|
UpdateFileRequest(StorageInfo storage)
Creates a new instance with the specified storage.
|
Copyright © 2024. All rights reserved.