All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cryptomator.cryptofs.CryptoFileSystemComponent Maven / Gradle / Ivy

There is a newer version: 2.7.1-beta1
Show newest version
package org.cryptomator.cryptofs;

import dagger.BindsInstance;
import dagger.Subcomponent;
import org.cryptomator.cryptolib.api.Cryptor;

import java.nio.file.Path;

@CryptoFileSystemScoped
@Subcomponent(modules = {CryptoFileSystemModule.class})
public interface CryptoFileSystemComponent {

	CryptoFileSystemImpl cryptoFileSystem();

	@Subcomponent.Factory
	interface Factory {
		CryptoFileSystemComponent create(@BindsInstance Cryptor cryptor, //
										 @BindsInstance VaultConfig vaultConfig, //
										 @BindsInstance CryptoFileSystemProvider provider, //
										 @BindsInstance @PathToVault Path pathToVault, //
										 @BindsInstance CryptoFileSystemProperties cryptoFileSystemProperties);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy