commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [VFS] Execute operation on a FileObject
Date Thu, 12 Apr 2007 12:08:56 GMT

First, please don't cross post between dev and user list ... uhmm ... do
not cross post at all .... stay on the user list.

> I have instance of FileObject and I would like to start the associated file. 
> Do you know if there is and implemented execute operation on a FileObject object?
VFS do not support any native call, so you can't do something else than
get the filename of your fileObject and use java.lang.Runtime.exec or
use the JDIC [1] project which allows a more integrated way how to start
files, e.g. urls staring a browser, doc files starting word etc

Hope this helps.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message