• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to read text file in zip file

 
sheng zhong
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, I am gonna read some plain text file in zip file.The development enviroment is java eclipse. I wonder how to do that, is there any sample code I can refer? I search online but nothing found.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This example shows how to retrieve a file from within a ZIP archive.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15356
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java has support for ZIP files in the standard API. See the documentation of the package java.util.zip.

For examples, see: http://exampledepot.com/egs/java.util.zip/pkg.html
 
sheng zhong
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, thanks, that's really help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic