Package io.scanbot.sdk.persistence
Class FileStorageSettings.Builder
-
- All Implemented Interfaces:
public final class FileStorageSettings.Builder
Builds an instance of FileStorageSettings
-
-
Field Summary
Fields Modifier and Type Field Description private final FileIOProcessor
customFileIOProcessor
private final Boolean
encryptionEnabled
-
Constructor Summary
Constructors Constructor Description FileStorageSettings.Builder()
-
Method Summary
Modifier and Type Method Description final FileIOProcessor
getCustomFileIOProcessor()
final Boolean
getEncryptionEnabled()
final FileStorageSettings.Builder
useFileEncryption(Boolean enableFileEncryption)
Set a flag which enables a usage of encrypted file IO processor. final FileStorageSettings.Builder
useCustomFileIOProcessor(FileIOProcessor fileIOProcessor)
Set a custom implementation of FileIOProcessor, which will be used for files IO operations. final FileStorageSettings
build()
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
-
-
-
-