Static Site Builder Util (SBU) 1.0 Documentation
As described before a file filter defines if an instruction accepts a source file ('fires'). SBU comes with various build-in implementations that allow the user to build logical expressions via the combination of these. The availbable filters will be introduced now.
Accepts any file.
Combines multiple other file filters in AND (every file filter must acccept the file) or OR (at least one file filter must accept the file) mode. Default mode is OR. The child filters have to be specified as list of 'file-filter' elements.
This filter inverses the result of another one. The filter has to be specified as a child 'filter' element.
Checks the full relative source file path (including the file name) for matching a pattern specified by the 'pattern' attribute. The pattern is a regular expression like defined via java.util.regex.Pattern.
Checks the full relative source file path (including the file name) for matching a pattern specified by the 'pattern' attribute. Wildcards (the '*' character) may be used.
Checks a file's suffix for matching with that one specified by the 'suffix' attribute. The optional 'case-sensitive' attribute (true/false) specifies if the test shall be case sensitive or not. The default mode is case insensitive.
previous page next page