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