Options - General - Custom File Systems

 

Custom File Systems are available only in Stylus Studio XML Enterprise Suite and Stylus Studio XML Professional Suite.

Use the Custom File Systems page to register custom file systems with Stylus Studio. A custom file system can be any data source (XML, XQuery, DTD, for example) with a Java API.

The process of creating a custom file system in Stylus Studio involves two main steps:

1. Using Stylus Studio custom file system Java API, CustomFileSystem.jar, create the Java wrapper class for your data source.
2. Register the finished custom file system with Stylus Studio.

After you register a custom file system with Stylus Studio, it appears in the File Open and Save As dialog boxes, along with other supported file systems (Windows, FTP, and WebDAV, for example).

To display the Options dialog box, select Tools > Options from the Stylus Studio menu bar.

Fields

Classpath

You use the Classpath field to specify the required classpath for the custom file system.

To enter a classpath, type the value or click Browse to the right of the field.

Class name

You use the Class name field to specify the name of the custom file system class created using the Stylus Studio custom file system Java API. If you use the Browse button, Stylus Studio filters the files displayed in the Java Class Browser dialog box to show only those classes that implement the CustomFileSystem.jar interfaces.

Icon bitmap

You use the Icon Bitmap field to specify the icon to associate with the custom file system. This icon appears in the File > Open, Save, and Save As dialog boxes. If the Icon Bitmap field is left empty, Stylus Studio uses a default icon ( ).

To enter a file name, type the value or click Browse to the right of the field.

For More Information

Registering a Custom File System

 
Free Stylus Studio XML Training: