Package com.iizix.run

Class RuntimeBuilderUtilities


  • public class RuntimeBuilderUtilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.LinkedHashMap<java.lang.String,​java.lang.String> getLanguageStringsMap​(java.io.File file)
      Gets the English language strings required in "msg.js".
      • Methods inherited from class java.lang.Object

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

      • RuntimeBuilderUtilities

        public RuntimeBuilderUtilities()
    • Method Detail

      • getLanguageStringsMap

        public static java.util.LinkedHashMap<java.lang.String,​java.lang.String> getLanguageStringsMap​(java.io.File file)
                                                                                                      throws java.io.FileNotFoundException,
                                                                                                             java.io.IOException
        Gets the English language strings required in "msg.js".
        Parameters:
        file - The "msg.js" file.
        Returns:
        A new map of the strings, key is the text ID and the value is the text.
        Throws:
        java.io.FileNotFoundException - If the file is not found.
        java.io.IOException - For file errors.