Class BackportEnglish


  • public class BackportEnglish
    extends BackportBase
    Generates a set of English property files to back-port updates to a previous version. Where a key exists in the source and target versions the value is copied from the source to the target, overwriting the value in the target, except for a small number of keys that are known to be different between versions. The expectation is that the changes will be manually reviewed before committing them.
    • Constructor Detail

      • BackportEnglish

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

      • main

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

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