public class UnixStyleGlobbing extends Object
A limited form of UNIX file globbing is supported.
The standard wildcards '*' and '?' may be used, as may
character sets (delimited by '[' and ']'). Alternations
- {a,b,c}
for example - are supported, but
alternatives may not span directories. That is,
{a/b,c}
is not valid.
Modifier and Type | Class and Description |
---|---|
static class |
UnixStyleGlobbing.GlobDefinition
Provides information for performing globbing.
|
Constructor and Description |
---|
UnixStyleGlobbing(FileSystem fs,
UnixStyleGlobbing.GlobDefinition glob)
Constructs a globber for the specified file system using the
defined globbing.
|
Modifier and Type | Method and Description |
---|---|
List<PathDetails> |
findMatches()
Returns paths that match defined glob pattern.
|
public UnixStyleGlobbing(FileSystem fs, UnixStyleGlobbing.GlobDefinition glob)
fs
- the file system to which globbing is appliedglob
- the matching pattern to usepublic List<PathDetails> findMatches() throws IOException
IOException
- thrown if an I/O error occurs accessing pathsCopyright © 2016 Actian Corporation. All rights reserved.