类 PropertyTool

java.lang.Object
com.yuzhyn.azylee.core.ios.txts.PropertyTool

public class PropertyTool extends Object
  • 构造器详细资料

    • PropertyTool

      public PropertyTool()
  • 方法详细资料

    • read

      public static String read(String pathName, String key, String defaultValue)
      读取配置文件指定key的值
      参数:
      pathName - 参数
      key - 参数
      defaultValue - 参数
      返回:
      返回 返回
    • read

      public static Map<String,String> read(String pathName)
      读取配置文件所有配置项及值
      参数:
      pathName - 参数
      返回:
      返回 返回
    • write

      public static boolean write(String pathName, Map<String,String> props)
    • write

      public static boolean write(String pathName, Map<String,String> props, String comments)
    • main

      public static void main(String[] args)