@ProviderType
public interface TranslationObject
Modifier and Type | Method and Description |
---|---|
CommentCollection<Comment> |
getCommentCollection()
Gets the comment collection.
|
java.lang.String |
getId()
Gets confirmation return from the external translation service provider that they have received the
TranslationObject for translation.
|
java.lang.String |
getMimeType()
Gets the mime type of TranslationObject.
|
java.lang.String |
getSourceVersion()
Gets the version name of the source Object.
|
int |
getSupportingTranslationObjectsCount()
Deprecated.
|
java.util.Map<java.lang.String,java.util.List<TranslationObject>> |
getSupportingTranslationObjectsIterator()
Gets the supporting translation objects list for each relation.
|
java.lang.String |
getTitle()
Gets the title of the TranslationObject.
|
java.io.InputStream |
getTranslatedObjectInputStream()
Gets the translated Object input stream.
|
TranslationMetadata |
getTranslationJobMetadata()
Gets the Translation Job metadata
|
java.io.InputStream |
getTranslationObjectInputStream()
Deprecated.
Use
getTranslationObjectXMLInputStream() instead. Gets XML input stream for the
Translation Object to be translated. |
java.io.InputStream |
getTranslationObjectJSONInputStream()
Gets JSON input stream for the Translation Object to be translated.
|
java.util.zip.ZipInputStream |
getTranslationObjectPreview()
Gets a zip input stream containing the preview of Translation Object.
|
java.lang.String |
getTranslationObjectSourcePath()
Gets the path to the source Translation Object.
|
java.lang.String |
getTranslationObjectTargetPath()
Gets the path to the Translation Object being translated.
|
java.io.InputStream |
getTranslationObjectXLIFFInputStream(java.lang.String xliffVersion)
Gets XLIFF input stream for the Translation Object to be translated.
|
java.io.InputStream |
getTranslationObjectXMLInputStream()
Gets XML input stream for the Translation Object to be translated.
|
java.lang.String getTitle()
java.lang.String getTranslationObjectTargetPath()
java.lang.String getTranslationObjectSourcePath()
java.lang.String getSourceVersion()
java.lang.String getMimeType()
java.lang.String getId()
CommentCollection<Comment> getCommentCollection()
java.util.Map<java.lang.String,java.util.List<TranslationObject>> getSupportingTranslationObjectsIterator() throws TranslationException
TranslationException
@Deprecated int getSupportingTranslationObjectsCount() throws TranslationException
TranslationException
TranslationMetadata getTranslationJobMetadata()
@Deprecated java.io.InputStream getTranslationObjectInputStream() throws TranslationException
getTranslationObjectXMLInputStream()
instead. Gets XML input stream for the
Translation Object to be translated.TranslationException
- the translation exceptionjava.io.InputStream getTranslationObjectXMLInputStream() throws TranslationException
TranslationException
- the translation exceptionjava.io.InputStream getTranslationObjectXLIFFInputStream(java.lang.String xliffVersion) throws TranslationException
xliffVersion
- Requested version of XLIFFTranslationException
- the translation exceptionjava.io.InputStream getTranslationObjectJSONInputStream() throws TranslationException
TranslationException
- the translation exceptionjava.io.InputStream getTranslatedObjectInputStream()
java.util.zip.ZipInputStream getTranslationObjectPreview()
Copyright © 2010 - 2020 Adobe. All Rights Reserved