|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<FsOutputOption>
de.schlichtherle.truezip.fs.FsOutputOption
@Immutable public enum FsOutputOption
Defines the potential options for data output operations.
Not all options may be supported or available for all operations and
certain combinations may even be illegal.
It's up to the particular operation to define which options are
supported and available.
If an option is not supported, it must be silently ignored.
If an option is not available, an IOException must be thrown.
FsInputOption| Enum Constant Summary | |
|---|---|
APPEND
Whether or not the new entry data shall get appended to the existing entry data rather than replacing it entirely. |
|
CACHE
Whether or not the entry data read by an input socket shall get temporarily cached for subsequent access. |
|
CREATE_PARENTS
Whether or not any missing parent directory entries shall get created automatically. |
|
EXCLUSIVE
Whether or not an entry must be exclusively created. |
|
| Method Summary | |
|---|---|
static FsOutputOption |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FsOutputOption[] |
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 FsOutputOption CACHE
FsController.sync(de.schlichtherle.truezip.util.BitField) the entry data to the backing storage
(e.g. a parent file system) while some client is still busy on reading
or writing the cached entry data.
public static final FsOutputOption CREATE_PARENTS
public static final FsOutputOption APPEND
public static final FsOutputOption EXCLUSIVE
| Method Detail |
|---|
public static FsOutputOption[] values()
for (FsOutputOption c : FsOutputOption.values()) System.out.println(c);
public static FsOutputOption 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
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||