public class CompressHandler extends Object
| Constructor and Description |
|---|
CompressHandler() |
| Modifier and Type | Method and Description |
|---|---|
Deque<org.gcube.common.storagehub.model.items.Item> |
getAllNodesForZip(org.gcube.common.storagehub.model.items.FolderItem directory,
javax.jcr.Session session,
String login,
AccountingHandler accountingHandler,
List<String> excludes) |
void |
zipNode(ZipOutputStream zos,
Deque<org.gcube.common.storagehub.model.items.Item> queue,
String login,
org.gcube.common.storagehub.model.Path originalPath) |
public Deque<org.gcube.common.storagehub.model.items.Item> getAllNodesForZip(org.gcube.common.storagehub.model.items.FolderItem directory, javax.jcr.Session session, String login, AccountingHandler accountingHandler, List<String> excludes) throws javax.jcr.RepositoryException, org.gcube.common.storagehub.model.exceptions.BackendGenericError
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.BackendGenericErrorpublic void zipNode(ZipOutputStream zos, Deque<org.gcube.common.storagehub.model.items.Item> queue, String login, org.gcube.common.storagehub.model.Path originalPath) throws Exception
ExceptionCopyright © 2021. All Rights Reserved.