C
- public class UserAliasesSource<C> extends Object
Constructor and Description |
---|
UserAliasesSource(String filename,
String prefix,
String... searchLocations) |
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Gets the filename of the configuration file that will be scanned for
alias definitions
|
String |
getPrefix()
Gets the prefix that is used to distinguish alias definitions from other
property definitions in the configuration file
|
List<String> |
getSearchLocations()
Gets the search locations where the configuration file may be located in
order of preference
|
List<AliasMetadata> |
load() |
public String getFilename()
public List<String> getSearchLocations()
public String getPrefix()
If this is null/empty/blank then no prefix is in effect
public List<AliasMetadata> load() throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2012–2017. All rights reserved.