Repository navigation
0.2.0: Error handling based on exceptions
BC-breaking changes:
- Deleted deprecated UnifiedArchive methods:
extractNode,archiveNodes. - All mutable methods throws exceptions on errors now:
getFileData,getFileContent,getFileResourcethrowsNonExistentArchiveFileExceptionwhen file is not present in archive.extractFilesthrows:EmptyFileListExceptionArchiveExtractionException
deleteFiles,addFiles,addFileandaddDirectorythrows:EmptyFileListExceptionUnsupportedOperationExceptionArchiveModificationException
archiveFiles,archiveFileandarchiveDirectorythrows:FileAlreadyExistsExceptionEmptyFileListExceptionUnsupportedOperationExceptionArchiveCreationException
- Functionality of preparing files list for archiving is moved from
archiveFiles()toprepareForArchiving().