Package org.omegat.util
Class TMXWriter
java.lang.Object
org.omegat.util.TMXWriter
Deprecated, for removal: This API element is subject to removal in a future version.
Class that store TMX (Translation Memory Exchange) files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildTMXFile(String filename, boolean forceValidTMX, boolean levelTwo, ProjectProperties config, Map<String, PrepareTMXEntry> data) Deprecated, for removal: This API element is subject to removal in a future version.Saves a TMX file to disk
-
Method Details
-
buildTMXFile
public static void buildTMXFile(String filename, boolean forceValidTMX, boolean levelTwo, ProjectProperties config, Map<String, PrepareTMXEntry> data) throws IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.Saves a TMX file to disk- Parameters:
filename- The name of the file to createforceValidTMX- When true, OmegaT-tags are stripped from the segments.levelTwo- When true, the tmx is made compatible with level 2 (TMX version 1.4)config- Project configuration, to get the languagesdata- Data for save to TMX, a map of {source segments, translation}- Throws:
IOException
-