Package io.deephaven.util
Class PropertiesUtil
java.lang.Object
io.deephaven.util.PropertiesUtil
Utilities for working with
Properties
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
Load the properties file fromfile
usingUTF-8
.static void
load
(Properties properties, Path path, Charset charset) Load the properties frompath
intoproperties
withcharset
.
-
Constructor Details
-
PropertiesUtil
public PropertiesUtil()
-
-
Method Details
-
load
Load the properties file fromfile
usingUTF-8
.- Parameters:
file
- the file- Returns:
- the properties
- Throws:
IOException
- if an IO exception occurs
-
load
Load the properties frompath
intoproperties
withcharset
.- Parameters:
properties
- the propertiespath
- the pathcharset
- the charset- Throws:
IOException
- if an IO exception occurs
-