Package nl.knaw.dans.layerstore
Class ZipArchiveProvider
java.lang.Object
nl.knaw.dans.layerstore.ZipArchiveProvider
- All Implemented Interfaces:
ArchiveProvider
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ZipArchiveProvider
-
-
Method Details
-
createArchive
Description copied from interface:ArchiveProvider
Create a newArchive
instance.- Specified by:
createArchive
in interfaceArchiveProvider
- Parameters:
path
- the path to the archive file- Returns:
- the new archive
-
exists
Description copied from interface:ArchiveProvider
Check if an archive exists at the given path.- Specified by:
exists
in interfaceArchiveProvider
- Parameters:
path
- the path to the archive file- Returns:
- true if the archive exists, false otherwise
-