I'm looking at options for how to take an archive file (zip,gz,tar,etc) and
extract it to the file system. (like running unzip file.zip -d folder)
I see org.apache.commons.compress.archivers.Lister, but I don't see any
obvious (general) way to write this to disk.
Any suggestions for how to best
I'm new to commons exec but why not just:
DefaultExecutor executor = new DefaultExecutor();
ByteArrayOutputStream out = new ByteArrayOutputStream();
executor.setStreamHandler(new PumpStreamHandler( out ) )
int exitValue = executor.execute(commandLine);
String txt = out.toString();
On Sep
to a temporary place.
Ciao,
Mario
-Original Message-
From: Ryan McKinley [mailto:ryan...@gmail.com]
Sent: Friday, May 15, 2009 4:37 AM
To: user@commons.apache.org
Subject: VFS LocalFile#getLocalFile() protected?
Is there any reason LocalFile#getLocalFile() is protected rather then
public?
Since
Hello-
Is there any reason LocalFile#getLocalFile() is protected rather then
public?
Since the process to reconstruct a File object is kinda clunky, it
would be nice to just have access directly to the file object.
ryan