Package com.exedio.cope.util
Class Sources
- java.lang.Object
-
- com.exedio.cope.util.Sources
-
public final class Sources extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Properties.Source
EMPTY
static Properties.Source
SYSTEM_PROPERTIES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties.Source
cascade(Properties.Source... sources)
static void
checkKey(String key)
Checks a key to be valid for callingProperties.Source.get(String)
.static Properties.Source
load(File file)
static Properties.Source
load(URL url)
static Properties
loadProperties(File file)
static Properties.Source
reloadable(Supplier<Properties.Source> sourceSupplier)
static Properties.Source
view(Properties properties, String description)
-
-
-
Field Detail
-
EMPTY
public static final Properties.Source EMPTY
-
SYSTEM_PROPERTIES
public static final Properties.Source SYSTEM_PROPERTIES
-
-
Method Detail
-
view
public static Properties.Source view(Properties properties, String description)
-
load
public static Properties.Source load(File file)
-
loadProperties
public static Properties loadProperties(File file)
-
load
public static Properties.Source load(URL url)
-
cascade
public static Properties.Source cascade(Properties.Source... sources)
-
reloadable
public static Properties.Source reloadable(Supplier<Properties.Source> sourceSupplier)
-
checkKey
public static void checkKey(String key)
Checks a key to be valid for callingProperties.Source.get(String)
.
-
-