public class PropertiesReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertiesReader.Provider |
Constructor and Description |
---|
PropertiesReader() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConditionalBlockValues() |
String |
getEnvironment() |
Properties |
load(InputStream stream) |
Properties |
load(Reader reader) |
Properties |
load(URL location) |
protected Properties |
processProperties(Properties input) |
void |
registerConditionalBlock(String blockName,
String blockValue) |
void |
setEnvironment(String environment) |
public void registerConditionalBlock(@Nullable String blockName, @Nullable String blockValue)
public void setEnvironment(String environment)
@Nonnull public Properties load(@Nonnull URL location) throws IOException
IOException
@Nonnull public Properties load(@Nonnull InputStream stream) throws IOException
IOException
@Nonnull public Properties load(@Nonnull Reader reader) throws IOException
IOException
@Nonnull protected Properties processProperties(@Nonnull Properties input)