You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2009/03/27 18:25:48 UTC

[COMPRESS] What is ArchiveEntry.getSize() ?

The interface ArchiveEntry does not have any Javadoc, and it's not
obvious what the getSize() method is supposed to return - the size of
an entry in the archive, including header(s), or just the size of the
data that the entry contains.

I assume the latter?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [COMPRESS] What is ArchiveEntry.getSize() ?

Posted by Christian Grobmeier <gr...@gmail.com>.
As you assumed,
getSize returns the size of file data for this entry (to be clear, no
header data).
I will write some javadoc for this class when I have my account ready.

Cheers,
Christian

On Fri, Mar 27, 2009 at 6:25 PM, sebb <se...@gmail.com> wrote:
> The interface ArchiveEntry does not have any Javadoc, and it's not
> obvious what the getSize() method is supposed to return - the size of
> an entry in the archive, including header(s), or just the size of the
> data that the entry contains.
>
> I assume the latter?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org