Class ImportFileUpdater


  • public class ImportFileUpdater
    extends Object
    Updates a XML import file to be compatable with the current version of the repository.
    Author:
    royw
    • Constructor Detail

      • ImportFileUpdater

        public ImportFileUpdater()
    • Method Detail

      • setFileEncoding

        public void setFileEncoding​(String fileEncoding)
        Set the file encoding.
        Parameters:
        fileEncoding - the file encoding
      • updateImportFile

        public void updateImportFile​(String source,
                                     String destination)
        Updates the passed import file into the equivalent 1.4 format.
        Parameters:
        source - the source import file
        destination - the destination import file
      • main

        public static void main​(String[] args)