public class PropertiesUtil
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PropertiesUtil.PropertiesInfo |
| 构造器和说明 |
|---|
PropertiesUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static OrderedProperties |
getProperties(java.io.File file) |
static OrderedProperties |
getProperties(java.lang.String name)
获取配置信息
|
static OrderedProperties |
getProperties(java.net.URL url) |
public static OrderedProperties getProperties(java.lang.String name) throws java.net.URISyntaxException, java.io.IOException
name - namejava.net.URISyntaxException - uejava.io.IOException - iopublic static OrderedProperties getProperties(java.net.URL url) throws java.io.IOException, java.net.URISyntaxException
java.io.IOExceptionjava.net.URISyntaxExceptionpublic static OrderedProperties getProperties(java.io.File file) throws java.net.URISyntaxException, java.io.IOException
file - filejava.net.URISyntaxException - ujava.io.IOException - ioCopyright © 2017. All Rights Reserved.