I need to write a java class that extracts a content of zip file into a server folder. What is the best way to do it? Do you recommend using ZipFile class, or invoking a script that unzips and copies content?
I feel like using scripts (ant/maven) is more natural for this task, whereas Java needs to work hard to read all the files & folders to heap and write them to another folder.
(I need it for installer task)
thanks