开发者

Java Unzip each file into Database

I am attempting to write a java application that will unzip an archive and store it in a database.

I would like to insert each file in the database after it has been extracted, does anyon开发者_运维知识库e have a good example of a java unzip procedure?


A little google-search would have helped you. Tutorial by Sun.

If you want to store the extracted data in a MySQL-Database you'll want to use a BLOB to do so. Tutorial might be found here.

Notice: BLOBs should not grow bigger then 1M because they'll be slower then a normal file-system. Here is the full article.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜