• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Using zip to package to recreate ODB Files java 7zip

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.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic