Class MGL_PropUtils

java.lang.Object
tech.mgl.core.utils.MGL_PropUtils

public class MGL_PropUtils extends Object
Version:
Author:
Hotpot
  • Constructor Details

    • MGL_PropUtils

      public MGL_PropUtils()

      Title:

      Description:

  • Method Details

    • getVal

      public static String getVal(String key, String resourceName, Locale locale)
      获取properties文件值
      Parameters:
      key -
      resourceName -
      Returns:
      String 返回类型
    • getSecVal

      public static String getSecVal(String key, String resourceName, String pwd, Locale locale)
      获取解密内容
      Parameters:
      key -
      resourceName -
      pwd -
      locale -
      Returns:
    • getVal

      public static String getVal(String key)
      获取properties文件值,资源文件默认为string.properties文件
      Parameters:
      key -
      Returns:
      String 返回类型
    • getVal

      public static String getVal(String key, String resourceName)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • getI18n

      public static String getI18n(String key, String resourceName, Locale locale)