[compress] uncompress utility?

2012-12-19 Thread Ryan McKinley
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

Re: [exec] OutputStream to the input of the exec process

2009-09-23 Thread Ryan McKinley
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

Re: VFS LocalFile#getLocalFile() protected?

2009-05-15 Thread Ryan McKinley
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

VFS LocalFile#getLocalFile() protected?

2009-05-14 Thread Ryan McKinley
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