• 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

decoding, unzipping word file

 
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 have a zipped, encoded word file stored in a object X, which is in $cd/optendu directory. I have to read,decode,unzipped and save it in a different directory $cd/gencom. the operating system is sunsolaris.

Can anybody code it for me.

Thanks in advance.
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sri pat:

Can anybody code it for me.



Well, no, but we can probably help some.

I'm not sure if I know what you mean. If you just want to copy the file, take a look at something like java.io.FileInputStream and java.io.FileOutputStream. Those classes really don't care what the contents of the file are. If you need to unzip the file take a look at the java.util.zip.ZipInputStream class. It also does not care about the contents of the file. Lastly, if you want to read and/or display the file take a look at the Apache POI project.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic