Package com.liferay.portal.kernel.util
Class PropertiesUtil
Object
com.liferay.portal.kernel.util.PropertiesUtil
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyProperties
(Properties sourceProperties, Properties targetProperties) static Properties
static void
fromProperties
(Properties properties, Map<String, String> map) static Properties
getProperties
(Properties properties, String prefix, boolean removePrefix) static String
static void
list
(Map<String, String> map, PrintStream printWriter) static void
list
(Map<String, String> map, PrintWriter printWriter) static String
list
(Properties properties) static Properties
load
(InputStream inputStream, String charsetName) static Properties
static Properties
static Properties
static void
load
(Properties properties, String s) static void
merge
(Properties properties1, Properties properties2) static Map
toMap
(Properties properties) static String
toString
(Properties properties) static void
trimKeys
(Properties properties)
-
Constructor Details
-
PropertiesUtil
public PropertiesUtil()
-
-
Method Details
-
copyProperties
-
fromMap
-
fromProperties
-
getProperties
-
list
-
list
-
list
-
list
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
merge
-
toMap
-
toString
-
trimKeys
-