public enum EmptyMatchTreatment extends java.lang.Enum<EmptyMatchTreatment>
FileSystems.match(java.util.List<java.lang.String>).| Enum Constant and Description | 
|---|
ALLOW
Filepatterns matching no resources are allowed. 
 | 
ALLOW_IF_WILDCARD
Filepatterns matching no resources are allowed if the filepattern contains a glob wildcard
 character, and disallowed otherwise (i.e. 
 | 
DISALLOW
Filepatterns matching no resources are disallowed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EmptyMatchTreatment | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static EmptyMatchTreatment[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EmptyMatchTreatment ALLOW
MatchResult.status() will be MatchResult.Status.OK and MatchResult.metadata() will return an
 empty list.public static final EmptyMatchTreatment DISALLOW
MatchResult.status() will be MatchResult.Status.NOT_FOUND and MatchResult.metadata() will
 throw a FileNotFoundException.public static final EmptyMatchTreatment ALLOW_IF_WILDCARD
public static EmptyMatchTreatment[] values()
for (EmptyMatchTreatment c : EmptyMatchTreatment.values()) System.out.println(c);
public static EmptyMatchTreatment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null