public class IncludePaths extends java.lang.Object implements Filter<ArchivePath>
ArchivePaths that match the given List of paths.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
paths |
| Constructor and Description |
|---|
IncludePaths(java.util.Collection<java.lang.String> paths) |
IncludePaths(java.lang.String... paths) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.Set<java.lang.String> |
adjust(java.lang.String... paths) |
boolean |
include(ArchivePath path)
Called per operation in a multi add operation.
|
public IncludePaths(java.lang.String... paths)
public IncludePaths(java.util.Collection<java.lang.String> paths)
private java.util.Set<java.lang.String> adjust(java.lang.String... paths)
public boolean include(ArchivePath path)
Filterinclude in interface Filter<ArchivePath>path - a object to filter on