public class ResourceBundleReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceBundleReader.Provider |
Constructor and Description |
---|
ResourceBundleReader() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getConditionalBlockValues() |
java.lang.String |
getEnvironment() |
protected java.util.Map<java.lang.String,java.lang.Object> |
processBundle(java.util.ResourceBundle input) |
java.util.ResourceBundle |
read(java.util.ResourceBundle bundle) |
void |
registerConditionalBlock(java.lang.String blockName,
java.lang.String blockValue) |
void |
setEnvironment(java.lang.String environment) |
public void registerConditionalBlock(@Nullable java.lang.String blockName, @Nullable java.lang.String blockValue)
@Nonnull public java.util.Map<java.lang.String,java.lang.String> getConditionalBlockValues()
@Nonnull public java.lang.String getEnvironment()
public void setEnvironment(java.lang.String environment)
@Nonnull public java.util.ResourceBundle read(@Nonnull java.util.ResourceBundle bundle)
@Nonnull protected java.util.Map<java.lang.String,java.lang.Object> processBundle(@Nonnull java.util.ResourceBundle input)