@Private
public static class Globber.GlobBuilder
extends java.lang.Object
| Constructor | Description |
|---|---|
GlobBuilder(FileContext fc) |
Construct bonded to a file context.
|
GlobBuilder(FileSystem fs) |
Construct bonded to a filesystem.
|
| Modifier and Type | Method | Description |
|---|---|---|
Globber |
build() |
Build the Globber.
|
Globber.GlobBuilder |
withPathFiltern(PathFilter pathFilter) |
Set the path filter.
|
Globber.GlobBuilder |
withPathPattern(Path pattern) |
Set the path pattern.
|
Globber.GlobBuilder |
withResolveSymlinks(boolean resolve) |
Set the symlink resolution policy.
|
public GlobBuilder(FileContext fc)
fc - file context.public GlobBuilder(FileSystem fs)
fs - file system.public Globber.GlobBuilder withPathPattern(Path pattern)
pattern - pattern to use.public Globber.GlobBuilder withPathFiltern(PathFilter pathFilter)
pathFilter - filterpublic Globber.GlobBuilder withResolveSymlinks(boolean resolve)
resolve - resolution flag.public Globber build()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.