Class TMXWriter


  • @Deprecated
    public final class TMXWriter
    extends java.lang.Object
    Deprecated.
    Class that store TMX (Translation Memory Exchange) files.
    • Method Detail

      • buildTMXFile

        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
        Deprecated.
        Saves a TMX file to disk
        Parameters:
        filename - The name of the file to create
        forceValidTMX - 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 languages
        data - Data for save to TMX, a map of {source segments, translation}
        Throws:
        java.io.IOException