public interface IFileResource extends FileResource
DocumentFileUploadForm,
FileResourceACCEPTED_TYPES_RESOURCE, DOWNLOAD_TEMPLATE, FILE_DOWNLOAD_TEMPLATE, FILE_RESOURCE, FILETYPE_RAW_SOURCE_DOCUMENT, FILETYPE_TRANSLATED_APPROVED, FILETYPE_TRANSLATED_APPROVED_AND_FUZZY, SERVICE_PATH, SOURCE_DOWNLOAD_TEMPLATE, SOURCE_UPLOAD_TEMPLATE, TRANSLATION_UPLOAD_TEMPLATE| Modifier and Type | Method and Description |
|---|---|
org.jboss.resteasy.client.ClientResponse<String> |
acceptedFileTypes() |
org.jboss.resteasy.client.ClientResponse |
downloadSourceFile(String projectSlug,
String iterationSlug,
String fileType,
String docId)
Downloads a single source file.
|
org.jboss.resteasy.client.ClientResponse |
downloadTranslationFile(String projectSlug,
String iterationSlug,
String locale,
String fileExtension,
String docId)
Downloads a single translation file.
|
org.jboss.resteasy.client.ClientResponse<ChunkUploadResponse> |
uploadSourceFile(String projectSlug,
String iterationSlug,
String docId,
DocumentFileUploadForm uploadForm) |
org.jboss.resteasy.client.ClientResponse<ChunkUploadResponse> |
uploadTranslationFile(String projectSlug,
String iterationSlug,
String localeId,
String docId,
String merge,
DocumentFileUploadForm uploadForm) |
downloadorg.jboss.resteasy.client.ClientResponse<String> acceptedFileTypes()
acceptedFileTypes in interface FileResourceorg.jboss.resteasy.client.ClientResponse<ChunkUploadResponse> uploadSourceFile(String projectSlug, String iterationSlug, String docId, DocumentFileUploadForm uploadForm)
uploadSourceFile in interface FileResourceorg.jboss.resteasy.client.ClientResponse<ChunkUploadResponse> uploadTranslationFile(String projectSlug, String iterationSlug, String localeId, String docId, String merge, DocumentFileUploadForm uploadForm)
uploadTranslationFile in interface FileResourceorg.jboss.resteasy.client.ClientResponse downloadSourceFile(String projectSlug, String iterationSlug, String fileType, String docId)
FileResourcedownloadSourceFile in interface FileResourcefileType - use 'raw' for original source if available, or 'pot' to
generate pot from source stringsorg.jboss.resteasy.client.ClientResponse downloadTranslationFile(String projectSlug, String iterationSlug, String locale, String fileExtension, String docId)
FileResourcedownloadTranslationFile in interface FileResourceprojectSlug - Project identifier.iterationSlug - Project iteration identifier.locale - Translations for this locale will be contained in the
downloaded document.docId - Document identifier to fetch translations for.Copyright © 2014 Zanata Project. All Rights Reserved.