Class BackportTranslations

java.lang.Object
org.apache.tomcat.buildutil.translate.BackportBase
org.apache.tomcat.buildutil.translate.BackportTranslations

public class BackportTranslations extends BackportBase
Generates a set of translated property files to back-port updates to a previous version. If the source and target use the same value for the English key then any translated value for that key is copied from the source to the target.
  • Constructor Details

    • BackportTranslations

      protected BackportTranslations(String[] args) throws IOException
      Constructs a BackportTranslations instance.
      Parameters:
      args - command line arguments; a single argument specifying the target directory
      Throws:
      IOException - if an I/O error occurs
  • Method Details

    • main

      public static void main(String... args) throws IOException
      Entry point for the translations back-port tool.
      Parameters:
      args - command line arguments; a single argument specifying the target directory
      Throws:
      IOException - if an I/O error occurs
    • execute

      protected void execute() throws IOException
      Description copied from class: BackportBase
      Executes the back-port operation.
      Specified by:
      execute in class BackportBase
      Throws:
      IOException - if an I/O error occurs