public class PropertiesUtil extends Object
public static String get(String properties, String key) throws IOException
properties - 属性文件包路径 如:net/mingsoft/resources/a.propertieskey - 键IOExceptionpublic static Map<String,String> getMap(String properties) throws FileNotFoundException, IOException
properties - 属性文件包路径 如:net/mingsoft/resources/a.propertiesFileNotFoundExceptionIOExceptionpublic void setValue(String properties, String key, String value) throws IOException
properties - 属性文件包路径 如:net/mingsoft/resources/a.propertieskey - 键value - 值IOExceptionCopyright © 2023. All rights reserved.