Class BinaryBackupStream

All Implemented Interfaces:
BackupFunction, PamSettings, SettingsNameProvider

public class BinaryBackupStream extends FileBackupStream
  • Constructor Details

    • BinaryBackupStream

      public BinaryBackupStream(BinaryStore binaryStore)
  • Method Details

    • getSourceLocation

      public FileLocation getSourceLocation()
      Description copied from class: FileBackupStream
      Source location - For most things, like the sound recorder or binary files this will have to be taken from the other settings. For some modules like the gemini, which are recording elsewhere, it can be anything.
      Specified by:
      getSourceLocation in class FileBackupStream
      Returns:
      the source location.
    • setSourceLocation

      public void setSourceLocation(FileLocation fileLocation)
      Description copied from class: FileBackupStream
      As with the getter, this may be ignored by many modules which will perfectly well know their source location
      Specified by:
      setSourceLocation in class FileBackupStream
    • getMinBackupDelay

      public long getMinBackupDelay()
      Description copied from class: FileBackupStream
      Get the minimum delay from the time when a file was last modified or created to when it can be backed up
      Overrides:
      getMinBackupDelay in class FileBackupStream
      Returns:
      time in milliseconds