Class MessageResourceConsolidatorProxy


  • public class MessageResourceConsolidatorProxy
    extends java.lang.Object
    Consolidates the main message resources file, the german resources file and the old german resources file sent to UBS in one file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String OUTPUT_FILE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.core.io.Resource consolidateResources​(java.lang.String lang)
      Consolidates resources and creates a file with the consolidated message keys.
      private java.io.File getOutputDirectory()  
      static void main​(java.lang.String[] args)
      Create the file compared.
      • Methods inherited from class java.lang.Object

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

      • MessageResourceConsolidatorProxy

        public MessageResourceConsolidatorProxy()
    • Method Detail

      • consolidateResources

        public org.springframework.core.io.Resource consolidateResources​(java.lang.String lang)
                                                                  throws java.io.IOException
        Consolidates resources and creates a file with the consolidated message keys.
        Returns:
        the consolodated file with text resources
        Throws:
        java.io.IOException - if any of the properties files is not found
      • getOutputDirectory

        private java.io.File getOutputDirectory()
      • main

        public static void main​(java.lang.String[] args)
        Create the file compared.
        Parameters:
        args - .