public static enum DbxFileSystem.PathListener.Mode extends java.lang.Enum<DbxFileSystem.PathListener.Mode>
Enum Constant and Description |
---|
PATH_ONLY
Notify the listener only of changes to the file or folder at the
given path.
|
PATH_OR_CHILD
For a folder, notify the listener of changes to the folder, or its
direct child files and folders, non-recursively.
|
PATH_OR_DESCENDANT
For a folder, notify the listener of changes to the folder or its
descendant files and folders, recursively.
|
Modifier and Type | Method and Description |
---|---|
static DbxFileSystem.PathListener.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DbxFileSystem.PathListener.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbxFileSystem.PathListener.Mode PATH_ONLY
public static final DbxFileSystem.PathListener.Mode PATH_OR_CHILD
DbxFileSystem.PathListener.Mode.PATH_ONLY
.public static final DbxFileSystem.PathListener.Mode PATH_OR_DESCENDANT
DbxFileSystem.PathListener.Mode.PATH_ONLY
.public static DbxFileSystem.PathListener.Mode[] values()
for (DbxFileSystem.PathListener.Mode c : DbxFileSystem.PathListener.Mode.values()) System.out.println(c);
public static DbxFileSystem.PathListener.Mode 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