Summer.Batch.Common.IO.AntPathResolver Class Reference
Utility class to resolve Ant style paths as resources. More...
Public Member Functions | |
IEnumerable< IResource > | FindMatchingResources (string pattern) |
Resolves the pattern and gets all the existing resources that match it. More... | |
Static Public Member Functions | |
static bool | IsPattern (string path) |
Checks if a path contains a wildcard. More... | |
Detailed Description
Utility class to resolve Ant style paths as resources.
The mapping matches resources with the following rules:
? | matches one character |
* | matches zero or more character in a directory name |
** | matches zero or more directories in a path |
Member Function Documentation
IEnumerable<IResource> Summer.Batch.Common.IO.AntPathResolver.FindMatchingResources | ( | string | pattern | ) |
Resolves the pattern and gets all the existing resources that match it.
- Parameters
-
pattern a pattern matching resources
- Returns
- the matched resources
|
static |
Checks if a path contains a wildcard.
- Parameters
-
path a path describing resources
- Returns
- true if the path is a pattern with a wildcard; false otherwise
The documentation for this class was generated from the following file:
- Summer.Batch.Common/IO/AntPathResolver.cs