Class CompressHandler
- java.lang.Object
-
- org.gcube.data.access.storagehub.handlers.CompressHandler
-
public class CompressHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description CompressHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)voidzipNode(ZipOutputStream zos, Deque<org.gcube.common.storagehub.model.items.Item> queue, String login, org.gcube.common.storagehub.model.Path originalPath)
-
-
-
Method Detail
-
getAllNodesForZip
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
- Throws:
javax.jcr.RepositoryExceptionorg.gcube.common.storagehub.model.exceptions.BackendGenericError
-
zipNode
public void zipNode(ZipOutputStream zos, Deque<org.gcube.common.storagehub.model.items.Item> queue, String login, org.gcube.common.storagehub.model.Path originalPath) throws Exception
- Throws:
Exception
-
-