|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Capability>
org.apache.commons.vfs2.Capability
public enum Capability
An enumerated type representing the capabilities of files and file systems.
Enum Constant Summary | |
---|---|
APPEND_CONTENT
File content can be appended. |
|
ATTRIBUTES
File attributes are supported. |
|
COMPRESS
A compressed filesystem is a filesystem which use compression. |
|
CREATE
Files can be created. |
|
DELETE
Files can be deleted. |
|
DIRECTORY_READ_CONTENT
Provides directories which allows you to read its content through FileContent.getInputStream() . |
|
DISPATCHER
The provider itself do not provide a filesystem. |
|
FS_ATTRIBUTES
File system attributes are supported. |
|
GET_LAST_MODIFIED
File get last-modified time is supported. |
|
GET_TYPE
The file type can be determined. |
|
JUNCTIONS
Junctions are supported. |
|
LAST_MODIFIED
File last-modified time is supported. |
|
LIST_CHILDREN
Children of files can be listed. |
|
MANIFEST_ATTRIBUTES
The set of attributes defined by the Jar manifest specification are supported. |
|
RANDOM_ACCESS_READ
File content can be read in random mode. |
|
RANDOM_ACCESS_WRITE
File content can be written in random mode. |
|
READ_CONTENT
File content can be read. |
|
RENAME
Files can be renamed. |
|
SET_LAST_MODIFIED_FILE
File set last-modified time is supported. |
|
SET_LAST_MODIFIED_FOLDER
folder set last-modified time is supported. |
|
SIGNING
File content signing is supported. |
|
URI
URI are supported. |
|
VIRTUAL
A virtual filesystem can be an archive like tar or zip. |
|
WRITE_CONTENT
File content can be written. |
Method Summary | |
---|---|
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Capability[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Capability READ_CONTENT
public static final Capability WRITE_CONTENT
public static final Capability RANDOM_ACCESS_READ
public static final Capability RANDOM_ACCESS_WRITE
public static final Capability APPEND_CONTENT
public static final Capability ATTRIBUTES
public static final Capability LAST_MODIFIED
public static final Capability GET_LAST_MODIFIED
public static final Capability SET_LAST_MODIFIED_FILE
public static final Capability SET_LAST_MODIFIED_FOLDER
public static final Capability SIGNING
public static final Capability CREATE
public static final Capability DELETE
public static final Capability RENAME
public static final Capability GET_TYPE
public static final Capability LIST_CHILDREN
public static final Capability URI
public static final Capability FS_ATTRIBUTES
public static final Capability JUNCTIONS
public static final Capability MANIFEST_ATTRIBUTES
public static final Capability DISPATCHER
public static final Capability COMPRESS
public static final Capability VIRTUAL
public static final Capability DIRECTORY_READ_CONTENT
FileContent.getInputStream()
.
Method Detail |
---|
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |