org.cryptomator.cryptofs.attr.AttributeViewComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cryptofs Show documentation
Show all versions of cryptofs Show documentation
This library provides the Java filesystem provider used by Cryptomator.
package org.cryptomator.cryptofs.attr;
import dagger.BindsInstance;
import dagger.Subcomponent;
import org.cryptomator.cryptofs.CryptoPath;
import java.nio.file.LinkOption;
import java.nio.file.attribute.FileAttributeView;
import java.util.Optional;
@AttributeViewScoped
@Subcomponent(modules = {AttributeViewModule.class})
public interface AttributeViewComponent {
Optional attributeView();
@Subcomponent.Factory
interface Factory {
AttributeViewComponent create(@BindsInstance CryptoPath cleartextPath, @BindsInstance Class extends FileAttributeView> type, @BindsInstance LinkOption[] linkOptions);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy