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

Gil Portenseigne commented on OFBIZ-10188:
------------------------------------------

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)

Reply via email to