Class CreateZipBagExample
java.lang.Object
nl.knaw.dans.bagit.TempFolderTest
nl.knaw.dans.bagit.examples.serialization.CreateZipBagExample
Example(s) for creating a zipped bag.
-
Nested Class Summary
-
Field Summary
Fields inherited from class nl.knaw.dans.bagit.TempFolderTest
folder
-
Constructor Summary
-
Method Summary
Methods inherited from class nl.knaw.dans.bagit.TempFolderTest
copyBagToTempFolder, createDirectory, createFile, delete, setupTempFolder, teardownTempFolder
-
Field Details
-
bagRoot
-
zippedBagPath
-
outputStream
-
-
Constructor Details
-
CreateZipBagExample
public CreateZipBagExample()
-
-
Method Details
-
setup
- Throws:
IOException
-
createZipBagWithJavaStandardLibrary
@Test public void createZipBagWithJavaStandardLibrary()THIS IS JUST AN EXAMPLE. DO NOT USE IN PRODUCTION!
-