public static enum HttpFSFileSystem.FILE_TYPE extends Enum<HttpFSFileSystem.FILE_TYPE>
Modifier and Type | Method and Description |
---|---|
static HttpFSFileSystem.FILE_TYPE |
getType(org.apache.hadoop.fs.FileStatus fileStatus) |
static HttpFSFileSystem.FILE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpFSFileSystem.FILE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpFSFileSystem.FILE_TYPE FILE
public static final HttpFSFileSystem.FILE_TYPE DIRECTORY
public static final HttpFSFileSystem.FILE_TYPE SYMLINK
public static HttpFSFileSystem.FILE_TYPE[] values()
for (HttpFSFileSystem.FILE_TYPE c : HttpFSFileSystem.FILE_TYPE.values()) System.out.println(c);
public static HttpFSFileSystem.FILE_TYPE 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 static HttpFSFileSystem.FILE_TYPE getType(org.apache.hadoop.fs.FileStatus fileStatus)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.