Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using zip to package to recreate ODB Files java 7zip  RSS feed

 
Graham Weatherup
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am using java.util.zip to re package ODB file after unzipping them and working on them with hsql.
It is a directory so using modified code from www.crazysquirrel.com

I was having problems with mimetype as I read that it needed to be uncompressed and the first part of the file. (I'm sure I saw this needed to be done for Linux system as they detect file type in a different way to windows(not relying on extension) but do not remember where)

I have finally managed to get the folder zipped with mimetype uncompressed as the first ZipEntry

Can any one tell me how a zip file created by like this would differ from one created by 7zip? I can even take my broken odb file from java use 7zip to unzip and rezip it and it works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!