public final class TMXWriter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
buildTMXFile(java.lang.String filename,
boolean forceValidTMX,
boolean levelTwo,
ProjectProperties config,
java.util.Map<java.lang.String,PrepareTMXEntry> data)
Saves a TMX file to disk
|
public static void buildTMXFile(java.lang.String filename, boolean forceValidTMX, boolean levelTwo, ProjectProperties config, java.util.Map<java.lang.String,PrepareTMXEntry> data) throws java.io.IOException
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}java.io.IOException