Compressing directory structure using lzma sdk (7z)

Hi everyone!

I'm a beginner in things like this, but I need to call some compression method to compress some directory structure. I considered using lzma sdk but I don't have any idea how to do this work with directories. Do I have to copy directory structure and compress files in these directories? How to make one archive file then?

Oh. I'm using package SevenZip and its main method from LzmaAlone.

Does anyone knows the idea?

Thanks in advance...

[485 byte] By [plucaa] at [2007-11-27 11:07:30]
# 1

What does this have to do with Java?

ChuckBinga at 2007-7-29 13:22:31 > top of Java-index,Java Essentials,Java Programming...
# 2

lzma sdk is written in java and can be used in java applications. Maybe there is someone who did something like this in the past - called methods from SevenZip package from his own project to compress directory structure, not only single file.

plucaa at 2007-7-29 13:22:31 > top of Java-index,Java Essentials,Java Programming...