| Package | Description |
|---|---|
| org.digitalmediaserver.crowdin | |
| org.digitalmediaserver.crowdin.api |
| Modifier and Type | Method and Description |
|---|---|
protected FileExportOptions |
PushCrowdinMojo.generateExportOptions(TranslationFileSet fileSet,
FileInfo templateFile)
Builds the "effective"
FileExportOptions from a combination of
the template file settings (if any) and the TranslationFileSet
configuration. |
| 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 FileInfo |
CrowdinAPI.getFile(org.apache.http.impl.client.CloseableHttpClient httpClient,
long projectId,
long fileId,
String token,
org.apache.maven.plugin.logging.Log logger)
Queries Crowdin for information about the specified file.
|
static FileInfo |
CrowdinAPI.getFileIfExists(org.apache.http.impl.client.CloseableHttpClient httpClient,
long projectId,
BranchInfo branch,
FolderInfo folder,
String fileName,
String token,
org.apache.maven.plugin.logging.Log logger)
Queries Crowdin for information about a file with the specified name.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static List<FileInfo> |
CrowdinAPI.listFiles(org.apache.http.impl.client.CloseableHttpClient httpClient,
long projectId,
Long branchId,
Long folderId,
String filter,
boolean recursion,
String token,
org.apache.maven.plugin.logging.Log logger)
Asks Crowdin for a list of files.
|
Copyright © 2024. All rights reserved.