开发者

Java Unzip each file into Database

开发者 https://www.devze.com 2023-04-10 16:16 出处:网络
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开发者_运维知

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

精彩评论

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