Interface ITmxExporter

  • All Known Implementing Classes:
    OkapiTmxExporter

    public interface ITmxExporter
    The TMX interface to Pensieve.
    • Method Detail

      • exportTmx

        void exportTmx​(LocaleId sourceLocale,
                       LocaleId targetLocale,
                       ITmSeeker tmSeeker,
                       TMXWriter tmxWriter)
                throws IOException
        Exports all Pensieve contents matching source and target language to TMX
        Parameters:
        sourceLocale - The source locale to export
        targetLocale - The target locale to export
        tmSeeker - The Seeker to use when reading from the TM
        tmxWriter - The TMXWriter to use when writing to the TMX file
        Throws:
        IOException - if there was a problem with the TMX export
      • exportTmx

        void exportTmx​(LocaleId sourceLocale,
                       ITmSeeker tmSeeker,
                       TMXWriter tmxWriter)
                throws IOException
        Exports all Pensieve contents matching source languages to TMX
        Parameters:
        sourceLocale - The source locale to export
        tmSeeker - The Seeker to use when reading from the TM
        tmxWriter - The TMXWriter to use when writing to the TMX file
        Throws:
        IOException - if there was a problem with the TMX export