ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gil Portenseigne (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-10188) Add new FileUtil methods for zip management
Date Fri, 02 Feb 2018 09:30:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350029#comment-16350029
] 

Gil Portenseigne edited comment on OFBIZ-10188 at 2/2/18 9:29 AM:
------------------------------------------------------------------

zos.setLevel(9) can be rewritten to zos.setLevel(Deflater.{color:#9876aa}BEST_COMPRESSION{color}){color:#cc7832};
That will be clearer :), and the choice was made to optimize the size of data. No strong opinion
here either.

Ok for the new byte[8192], thanks for the link, i did some search about this and agree with
you increasing the size of the buffer !



was (Author: gil portenseigne):
zos.setLevel(9) can be rewritten to zos.setLevel(Deflater.{color:#9876aa}BEST_COMPRESSION{color}){color:#cc7832};
{color:#333333}That will be clearer :), and the choice was made to optimize the size of data.
No strong opinion here either.{color}{color}

{color:#cc7832}{color:#333333}Ok for the new byte[8192], thanks for the link, i did some search
about this and agree with you increasing the size of the buffer !{color}{color}

 

 

{color:#cc7832} {color}

> Add new FileUtil methods for zip management
> -------------------------------------------
>
>                 Key: OFBIZ-10188
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10188
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Gil Portenseigne
>            Assignee: Gil Portenseigne
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message