Package pl.project13.core.util
Class PropertyManager
- java.lang.Object
-
- pl.project13.core.util.PropertyManager
-
public class PropertyManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PropertyManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voiddumpProperties(java.io.OutputStream outputStream, nu.studer.java.util.OrderedProperties sortedLocalProperties, boolean escapeUnicode)static voidputWithoutPrefix(java.util.Properties properties, java.lang.String key, java.lang.String value)protected static java.util.PropertiesreadProperties(java.io.File propertiesFile)protected static java.util.PropertiesreadProperties(java.io.File propertiesFile, java.nio.charset.Charset charset)
-
-
-
Method Detail
-
putWithoutPrefix
public static void putWithoutPrefix(@Nonnull java.util.Properties properties, java.lang.String key, java.lang.String value)
-
readProperties
protected static java.util.Properties readProperties(@Nonnull java.io.File propertiesFile) throws CannotReadFileException- Throws:
CannotReadFileException
-
readProperties
protected static java.util.Properties readProperties(@Nonnull java.io.File propertiesFile, @Nonnull java.nio.charset.Charset charset) throws CannotReadFileException- Throws:
CannotReadFileException
-
dumpProperties
protected static void dumpProperties(java.io.OutputStream outputStream, nu.studer.java.util.OrderedProperties sortedLocalProperties, boolean escapeUnicode) throws java.io.IOException- Throws:
java.io.IOException
-
-