Interface ArchiveProvider

All Known Implementing Classes:
DmfTarArchiveProvider, TarArchiveProvider, ZipArchiveProvider

public interface ArchiveProvider
Provides a way to create an Archive. The implementation should provide a way to configure where the archive is stored.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new Archive instance.
    boolean
    exists(String path)
    Check if an archive exists at the given path.
  • Method Details

    • createArchive

      Archive createArchive(String path)
      Create a new Archive instance.
      Parameters:
      path - the path to the archive file
      Returns:
      the new archive
    • exists

      boolean exists(String path)
      Check if an archive exists at the given path.
      Parameters:
      path - the path to the archive file
      Returns:
      true if the archive exists, false otherwise