Class ImportFileUpdater


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void setFileEncoding​(java.lang.String fileEncoding)
      Set the file encoding.
      void updateImportFile​(java.lang.String source, java.lang.String destination)
      Updates the passed import file into the equivalent 1.4 format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImportFileUpdater

        public ImportFileUpdater()
    • Method Detail

      • setFileEncoding

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

        public void updateImportFile​(java.lang.String source,
                                     java.lang.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​(java.lang.String[] args)