public class GroovyPropertySourceLoader extends AbstractPropertySourceLoader
DEFAULT_POSITION
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
GroovyPropertySourceLoader() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getExtensions() |
int |
getOrder() |
protected void |
processInput(String name,
InputStream input,
Map<String,Object> finalMap) |
protected Optional<InputStream> |
readInput(ResourceLoader resourceLoader,
String fileName) |
load, processMap, read
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
isEnabled
read
public int getOrder()
getOrder
in interface Ordered
getOrder
in class AbstractPropertySourceLoader
protected void processInput(String name, InputStream input, Map<String,Object> finalMap) throws IOException
processInput
in class AbstractPropertySourceLoader
name
- The nameinput
- The input streamfinalMap
- The map with all the properties processedIOException
- If the input stream doesn't existprotected Optional<InputStream> readInput(ResourceLoader resourceLoader, String fileName)
readInput
in class AbstractPropertySourceLoader
resourceLoader
- The resource loaderfileName
- The file nameOptional