public static enum SharabilityQuery.Sharability extends java.lang.Enum<SharabilityQuery.Sharability>
| Enum Constant | Description |
|---|---|
MIXED |
Constant indicating that a directory is sharable but files and
directories recursively contained in it may or may not be sharable.
|
NOT_SHARABLE |
Constant indicating that the file or directory is not sharable.
|
SHARABLE |
Constant indicating that the file or directory is sharable.
|
UNKNOWN |
Constant indicating that nothing is known about whether a given
file should be considered sharable or not.
|
| Modifier and Type | Method | Description |
|---|---|---|
static SharabilityQuery.Sharability |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SharabilityQuery.Sharability[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharabilityQuery.Sharability UNKNOWN
public static final SharabilityQuery.Sharability SHARABLE
public static final SharabilityQuery.Sharability NOT_SHARABLE
public static final SharabilityQuery.Sharability MIXED
public static SharabilityQuery.Sharability[] values()
for (SharabilityQuery.Sharability c : SharabilityQuery.Sharability.values()) System.out.println(c);
public static SharabilityQuery.Sharability 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 nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.