UnifiedArchive v0.2.0 Release Notes

Release Date: 2020-02-02 // about 4 years ago
  • BC-breaking changes:

    • Deleted deprecated UnifiedArchive methods: extractNode, archiveNodes.
    • 🚚 Functionality of preparing files list for archiving is moved from archiveFiles() to prepareForArchiving().
    • All mutable methods throws exceptions on errors now:
      • getFileData, getFileContent, getFileResource throws NonExistentArchiveFileException when file is not present in archive.
      • extractFiles throws:
        • EmptyFileListException
        • ArchiveExtractionException
      • deleteFiles, addFiles, addFile and addDirectory throws:
        • EmptyFileListException
        • UnsupportedOperationException
        • ArchiveModificationException
      • archiveFiles, archiveFile and archiveDirectory throws:
        • FileAlreadyExistsException
        • EmptyFileListException
        • UnsupportedOperationException
        • ArchiveCreationException