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

Stefan Bodewig commented on COMPRESS-318:
-----------------------------------------

Throwing exceptions here sounds dangerous.  We use ZipArchiveEntry both for 
reading and writing and it would be hard to tell the case of a user created 
ZipArchiveEntry with a deliberately unitiallized external attribute from an 
object that has been read from a stream.  Also, in some cases we don't even 
implement the accessor ourselves so far (getCrc/getCompressedSize are provided 
by java.util.zip.ZipEntry).


> Document which ZIP information is not available when using InputStream in the 
> javadocs
> --------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-318
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-318
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Stefan Bodewig
>            Assignee: Stefan Bodewig
>             Fix For: 1.10
>
>
> Basically, convert 
> http://commons.apache.org/proper/commons-compress/zip.html#ZipArchiveInputStream_vs_ZipFile
>  into doc comments where appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to