Package org.eblocker.server.http.backup
Class DevicesBackupProvider
java.lang.Object
org.eblocker.server.http.backup.BackupProvider
org.eblocker.server.http.backup.DevicesBackupProvider
-
Field Summary
FieldsFields inherited from class org.eblocker.server.http.backup.BackupProvider
encryptionEnabled -
Constructor Summary
ConstructorsConstructorDescriptionDevicesBackupProvider(DeviceService deviceService, UserService userService, DeviceFactory deviceFactory, OpenVpnService openVpnService) -
Method Summary
Modifier and TypeMethodDescriptionvoidexportConfiguration(JarOutputStream outputStream) Export the configuration to the given JarOutputStream.voidimportConfiguration(JarInputStream inputStream, int schemaVersion) Import the configuration from the given JarInputStream.voidverifyConfiguration(JarInputStream inputStream, int schemaVersion) Verify the configuration from the given JarInputStream.Methods inherited from class org.eblocker.server.http.backup.BackupProvider
addWarning, canDecrypt, canEncrypt, getNextEntry, getWarnings, writeNextEntry
-
Field Details
-
DEVICES_ENTRY
- See Also:
-
-
Constructor Details
-
DevicesBackupProvider
@Inject public DevicesBackupProvider(DeviceService deviceService, UserService userService, DeviceFactory deviceFactory, OpenVpnService openVpnService)
-
-
Method Details
-
exportConfiguration
Description copied from class:BackupProviderExport the configuration to the given JarOutputStream.- Specified by:
exportConfigurationin classBackupProvider- Throws:
IOException
-
importConfiguration
Description copied from class:BackupProviderImport the configuration from the given JarInputStream.- Specified by:
importConfigurationin classBackupProvider- Throws:
IOException
-
verifyConfiguration
Description copied from class:BackupProviderVerify the configuration from the given JarInputStream.- Specified by:
verifyConfigurationin classBackupProvider- Throws:
IOException
-