@Immutable public enum FsOutputOption extends Enum<FsOutputOption>
IOException
must get
thrown.FsInputOption
,
FsOutputOptions
Enum Constant and Description |
---|
APPEND
Whether or not the new entry contents shall get appended to the existing
entry contents rather than replacing them entirely.
|
CACHE
Whether or not the entry data read by an input socket shall get
cached for subsequent access.
|
COMPRESS
Expresses a preference to compress an entry within its archive.
|
CREATE_PARENTS
Whether or not any missing parent directory entries shall get created
automatically.
|
ENCRYPT
Expresses a preference to encrypt archive entries when writing them to
an archive file.
|
EXCLUSIVE
Whether or not an entry must be exclusively created.
|
GROW
Expresses a preference to allow an archive file to grow by appending any
new or updated archive entry contents or meta data to its end.
|
STORE
Expresses a preference to store an entry uncompressed within its archive.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final FsOutputOption APPEND
public static final FsOutputOption CACHE
FsController.sync(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>)
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 COMPRESS
Note that this option may get ignored by archive file system drivers. Furthermore, if this happens, there may be no direct feedback available to the caller.
public static final FsOutputOption CREATE_PARENTS
public static final FsOutputOption ENCRYPT
Note that this option may get ignored by archive file system drivers. Furthermore, if this happens, there may be no direct feedback available to the caller.
public static final FsOutputOption EXCLUSIVE
public static final FsOutputOption GROW
This option is the equivalent to a multi-session disc (CD, DVD etc.) for archive files.
Note that this option may get ignored by archive file system drivers. Furthermore, if this happens, there may be no direct feedback available to the caller.
public static final FsOutputOption STORE
Note that this option may get ignored by archive file system drivers. Furthermore, if this happens, there may be no direct feedback available to the caller.
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 nameNullPointerException
- if the argument is nullpublic static FsOutputOption[] values()
for (FsOutputOption c : FsOutputOption.values()) System.out.println(c);
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.