public static enum FsVolumeImpl.BlockDirFilter extends Enum<FsVolumeImpl.BlockDirFilter> implements FilenameFilter
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File dir,
String name) |
static FsVolumeImpl.BlockDirFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FsVolumeImpl.BlockDirFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsVolumeImpl.BlockDirFilter INSTANCE
public static FsVolumeImpl.BlockDirFilter[] values()
for (FsVolumeImpl.BlockDirFilter c : FsVolumeImpl.BlockDirFilter.values()) System.out.println(c);
public static FsVolumeImpl.BlockDirFilter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean accept(File dir, String name)
accept
in interface FilenameFilter
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.