Package io.scanbot.sdk.persistence
Class FileStorageSettings.Builder
-
- All Implemented Interfaces:
public final class FileStorageSettings.BuilderBuilds an instance of FileStorageSettings
-
-
Field Summary
Fields Modifier and Type Field Description private final FileIOProcessorcustomFileIOProcessorprivate final BooleanencryptionEnabled
-
Constructor Summary
Constructors Constructor Description FileStorageSettings.Builder()
-
Method Summary
Modifier and Type Method Description final FileIOProcessorgetCustomFileIOProcessor()final BooleangetEncryptionEnabled()final FileStorageSettings.BuilderuseFileEncryption(Boolean enableFileEncryption)Set a flag which enables a usage of encrypted file IO processor. final FileStorageSettings.BuilderuseCustomFileIOProcessor(FileIOProcessor fileIOProcessor)Set a custom implementation of FileIOProcessor, which will be used for files IO operations. final FileStorageSettingsbuild()Builds an instance of FileStorageSettings -
-
Method Detail
-
getCustomFileIOProcessor
final FileIOProcessor getCustomFileIOProcessor()
-
getEncryptionEnabled
final Boolean getEncryptionEnabled()
-
useFileEncryption
final FileStorageSettings.Builder useFileEncryption(Boolean enableFileEncryption)
Set a flag which enables a usage of encrypted file IO processor. By default - false.
-
useCustomFileIOProcessor
final FileStorageSettings.Builder useCustomFileIOProcessor(FileIOProcessor fileIOProcessor)
Set a custom implementation of FileIOProcessor, which will be used for files IO operations.
-
build
final FileStorageSettings build()
Builds an instance of FileStorageSettings
-
-
-
-