@Immutable public enum FsAccessOption extends Enum<FsAccessOption>
IOException
must get
thrown.Enum Constant and Description |
---|
APPEND
Whether or not the contents of an existing file system node shall get
kept for appending rather than replaced for overwriting.
|
CACHE
Whether or not the entry data 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 with an undefined last modification time.
|
ENCRYPT
Expresses a preference to encrypt archive entries when writing them to
an archive file.
|
EXCLUSIVE
Whether or not a file system node 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 FsAccessOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FsAccessOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsAccessOption APPEND
public static final FsAccessOption CACHE
FsController.sync(net.java.truecommons.shed.BitField<net.java.truevfs.kernel.spec.FsSyncOption>)
its contents to
its parent file system while some client is still busy on reading
or writing the cached entry data.public static final FsAccessOption 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 FsAccessOption CREATE_PARENTS
public static final FsAccessOption 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 FsAccessOption EXCLUSIVE
public static final FsAccessOption 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 FsAccessOption 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 FsAccessOption 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 FsAccessOption[] values()
for (FsAccessOption c : FsAccessOption.values()) System.out.println(c);
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.