All Examples
The standalone examples in this directory illustrate the WebLogic File API.
$ javac -d %CLIENT_CLASSES% *.java
weblogic.io.fileSystem.mySys=c:/temp
Note the use of the forward slash--the Java convention--instead of a backwards slash. For more info on this property, check the Administrators Guide, Setting WebLogic properties.
For example, here's how you run the FileBrowser example from the command line of the same machine as your WebLogic Server, listening on port 7001, with a registered fileSystem called "mySys":
$ java examples.io.FileBrowser t3://localhost:7001 mySys
With the FileBrowser example, you get a prompt that matches the name of your registered file system. You can toggle back and forth between your local file system and the WebLogic Server registered file system with the FileBrowser command "cf #" and "cf [fileSystem]". Type a question mark (?) to see a list of commands available in the FileBrowser.