Package org.cryptomator.cryptofs
Class EffectiveOpenOptions
- java.lang.Object
-
- org.cryptomator.cryptofs.EffectiveOpenOptions
-
public class EffectiveOpenOptions extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappend()booleancreate()booleancreateNew()Set<OpenOption>createOpenOptionsForEncryptedFile()booleandeleteOnClose()static EffectiveOpenOptionsfrom(Set<? extends OpenOption> options, ReadonlyFlag readonlyFlag)booleannoFollowLinks()booleanreadable()booleansyncData()booleansyncDataAndMetadata()booleantruncateExisting()booleanwritable()
-
-
-
Method Detail
-
from
public static EffectiveOpenOptions from(Set<? extends OpenOption> options, ReadonlyFlag readonlyFlag) throws IOException
- Throws:
IOException
-
noFollowLinks
public boolean noFollowLinks()
- See Also:
LinkOption.NOFOLLOW_LINKS
-
writable
public boolean writable()
- See Also:
StandardOpenOption.WRITE
-
readable
public boolean readable()
- See Also:
StandardOpenOption.READ
-
syncDataAndMetadata
public boolean syncDataAndMetadata()
- See Also:
StandardOpenOption.SYNC
-
syncData
public boolean syncData()
- See Also:
StandardOpenOption.DSYNC
-
append
public boolean append()
- See Also:
StandardOpenOption.APPEND
-
createNew
public boolean createNew()
- See Also:
StandardOpenOption.CREATE_NEW
-
create
public boolean create()
- See Also:
StandardOpenOption.CREATE
-
truncateExisting
public boolean truncateExisting()
- See Also:
StandardOpenOption.TRUNCATE_EXISTING
-
deleteOnClose
public boolean deleteOnClose()
- See Also:
StandardOpenOption.DELETE_ON_CLOSE
-
createOpenOptionsForEncryptedFile
public Set<OpenOption> createOpenOptionsForEncryptedFile()
-
-