Public Member Functions | |
ConfigFileRedeemer (Logger logger) | |
final boolean | isNotAConfigFile (File file) |
abstract String[] | getFileEndings () |
String | getName () |
Protected Member Functions | |
abstract boolean | _isNotAConfigFile (File file) |
Protected Attributes | |
Logger | logger |
|
|
|
Called by isNotAConfigFile(File) only if the file ending matches one of the endings in getFileEndings(). Implemented in alma::acs::config::validators::ConfigFileRedeemerFilepath, alma::acs::config::validators::ConfigFileRedeemerTestDir, and alma::acs::config::validators::ConfigFileRedeemerXml.
|
|
Subclasses supply the endings of files that they can possibly redeem. Note that in order to match, the file name must end with one of the given strings, see String#endsWith(java.lang.String). The ending may therefore contain more than one '.'.
Implemented in alma::acs::config::validators::ConfigFileRedeemerFilepath, alma::acs::config::validators::ConfigFileRedeemerTestDir, and alma::acs::config::validators::ConfigFileRedeemerXml.
|
|
|
|
Checks whether the given file is known to be not a config file, but to serve a more respectable purpose. Note that the selection is negative: from all files that are suspected based on their file ending, we prune those which are known to be not config files. |
|
|