Package nl.knaw.dans.layerstore
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
-
Method Details
-
createArchive
Create a newArchive
instance.- Parameters:
path
- the path to the archive file- Returns:
- the new archive
-
exists
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
-