Interface ConfigurationLoader
-
- All Known Implementing Classes:
ConfigurationLoader.InputStreamConfigurationLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ConfigurationLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ConfigurationLoader.Defaults
static class
ConfigurationLoader.InputStreamConfigurationLoader
-
Method Summary
Modifier and Type Method Description static ConfigurationLoader
FromInputStream(InputStream inputStream)
static ConfigurationLoader
FromInputStream(InputStream inputStream, Charset charset)
String
loadConfiguration()
static String
loadFromFile(File file)
static String
loadFromFile(File file, Charset charset)
static String
loadFromUrl(URL url)
static String
loadFromUrl(URL url, Charset charset)
-
-
-
Method Detail
-
loadConfiguration
String loadConfiguration()
-
FromInputStream
static ConfigurationLoader FromInputStream(InputStream inputStream)
-
FromInputStream
static ConfigurationLoader FromInputStream(InputStream inputStream, Charset charset)
-
-