Research > Software > VFSBrowser
The VirtualFileSystemBrowser is an interoperable replacement for the Java JFileChooser. It supports most JFileChooser methods and functionality for local file systems, and extends this functionality to remote file systems supporting the sFtp and ssh protocols.
It is common for data files to reside on computer file systems that are not connected to the computer on which the work is being performed. Such data files are typically copied to the local computer for use. This results in duplication of data, and often in synchronization issues, wherein it is difficult to remember which of the many nearly identical copies of data is the 'correct one'. The VirtualFileSystemBrowser is an interoperable replacement for the Java JFileChooser. It supports most JFileChooser methods and functionality for local file systems, and extends this functionality to remote file systems supporting the sFtp and ssh protocols.
Portable Java library jar makes library compilation unnecessary.
InstallationCopy java library 'jar' file to local disk. Add this jar file tro your java program class path.
Example: javac - classpath .:DXJava.jar YourJavaClass.java
Source Code Compilation
If you have the 'Ant' build tool installed, type "ant jars" at the command line to build the VFSBrowser jar file. If you do not have the Ant build tool, then you use your local java compiler to compile the java classes defined in the 'src/edu' directories. You will need to add the various Jar files stored in the subdirectory 'lib' (in this folder) to the java compiler classpath.
Source Code Installation InstructionsUnzip the Software Download file and any ".zip" file it contains until you obtain a directory containing the Ant build file, build.xml. Compile the VFSBrowser.jar file (see "Compilation" above). Use the VFSBrowser in a Java program as follows:
javac -classpath.:VFSBrowser.jar YourJavaClass.java
A VFSBrowser presents a user with a point-and-click visual interface with which to select a file from both local and remote file systems. It may be added to any Java application wishing to add remote file system access to it's capabilities.
The VFSBRowser will run on any computer that supports Java v1.4.1 (or greater).