public abstract class PropertiesUtils extends Object
| 构造器和说明 |
|---|
PropertiesUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Properties |
getProperties(String name) |
static Properties |
getProperties(String name,
ClassLoader loader) |
static Properties |
getProperties(String name,
ClassLoader loader,
String prefix) |
static Properties |
getProperties(String name,
ClassLoader loader,
String substr,
MatchMode matchMode) |
static Properties |
getProperties(String name,
String prefix) |
static Properties |
getProperties(String name,
String substr,
MatchMode matchMode) |
static Properties |
loadProperties(String name) |
static Properties |
loadProperties(String name,
ClassLoader loader) |
static void |
setCharset(String charset) |
private static final LruMap<String,Properties> cache
private static String charset
public static void setCharset(String charset)
public static Properties loadProperties(String name) throws IOException
IOExceptionpublic static Properties loadProperties(String name, ClassLoader loader) throws IOException
IOExceptionpublic static Properties getProperties(String name, String substr, MatchMode matchMode) throws IOException
IOExceptionpublic static Properties getProperties(String name, ClassLoader loader, String substr, MatchMode matchMode) throws IOException
IOExceptionpublic static Properties getProperties(String name, String prefix) throws IOException
IOExceptionpublic static Properties getProperties(String name, ClassLoader loader, String prefix) throws IOException
IOExceptionpublic static Properties getProperties(String name) throws IOException
IOExceptionpublic static Properties getProperties(String name, ClassLoader loader) throws IOException
IOExceptionCopyright © 2020. All rights reserved.