Class FileGlobResolver
java.lang.Object
dev.enola.common.io.resource.stream.FileGlobResolver
- All Implemented Interfaces:
GlobResolver,Provider<String,,Stream<URI>> ProviderFromIRI<Stream<URI>>
FileGlobResolver is a GlobResolver for a "globbed" file: IRI.
See FileSystem.getPathMatcher(String) for the full (Java) documentation of globs.
For example file:/tmp/*.txt (for all TXT directly in /tmp), or file:/tmp/**
(for everything under /tmp), or file:/tmp/**/*.txt (for all TXT in
sub-directories of /tmp), or file:/tmp/**.txt (for all TXT in /tmp itself and
sub-directories), or similar.
It is also valid to use a file: IRI which is not actually a glob; in that case, it is interpreted as just the given single file or directory.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileGlobResolver
public FileGlobResolver()
-
-
Method Details
-
get
Description copied from interface:ProviderGet.
-