• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using zip to package to recreate ODB Files java 7zip

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic