Package org.cryptomator.cryptofs.attr
Class AttributeViewProvider
- java.lang.Object
-
- org.cryptomator.cryptofs.attr.AttributeViewProvider
-
@CryptoFileSystemScoped public class AttributeViewProvider extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends FileAttributeView>
AgetAttributeView(CryptoPath cleartextPath, Class<A> type, LinkOption... options)
-
-
-
Method Detail
-
getAttributeView
public <A extends FileAttributeView> A getAttributeView(CryptoPath cleartextPath, Class<A> type, LinkOption... options)
- Parameters:
cleartextPath- the unencrypted path to the filetype- the Class object corresponding to the file attribute view- Returns:
- a file attribute view of the specified type, or
nullif the attribute view type is not available - See Also:
Files.getFileAttributeView(java.nio.file.Path, Class, java.nio.file.LinkOption...)
-
-