Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39094
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: reading zip file |
| Date | 2019-08-08 17:17 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qii3gl$um2$1@gioia.aioe.org> (permalink) |
| References | <daa1fc10-39a1-4942-b9da-d7f5e1fa9907@googlegroups.com> <qihcn4$1mo7$1@gioia.aioe.org> <96b45a37-1ae3-49ea-b1ce-d35865af56a4@googlegroups.com> <qihf6i$2me$1@gioia.aioe.org> <2f44b0d0-26c2-4090-946f-83a5c097ed7b@googlegroups.com> |
On 8/8/2019 11:42 AM, Eric Douglas wrote: > On Thursday, August 8, 2019 at 11:30:40 AM UTC-4, Arne Vajhøj wrote: >> Question: can't you just use HTTP content length instead?? > I expect HTTP content length would give me the size of the zip file. I want to know the total size of the files in the zip file, which is what the updates to the progress bar would be based on. > (within the doInBackground() of a SwingWorker) > zipProgress += zipEntry.getSize(); > publish(zipProgress); What about using HTTP content length and entry.getCompressedSize()? Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 07:12 -0700
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 10:48 -0400
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 08:00 -0700
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 11:30 -0400
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 08:42 -0700
Re: reading zip file Andreas Leitgeb <avl@logic.at> - 2019-08-08 17:51 +0000
Re: reading zip file Arne Vajhøj <arne@vajhoej.dk> - 2019-08-08 17:17 -0400
Re: reading zip file Joerg Meier <joergmmeier@arcor.de> - 2019-08-08 22:06 +0200
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 13:49 -0700
Re: reading zip file Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-08-08 19:49 +0200
Re: reading zip file Eric Douglas <e.d.programmer@gmail.com> - 2019-08-08 12:58 -0700
Re: reading zip file Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-08-08 22:38 +0200
csiph-web