Working with the Custom File System Java API

This section provides information about working with the Stylus Studio custom file system Java API. It assumes knowledge of Java programming principles and procedures.

Custom file system interfaces

The Stylus Studio custom file system interfaces are packaged in CustomFileSystem.jar, in the Stylus Studio \bin directory. To define a custom file system, you implement these interfaces:

  • com.exln.stylus.io.StylusFile, and
  • com.exln.stylus.io.StylusFileSystem

Implementation examples, JavaFileSystem.java and JavaFile.java, are included in the Stylus Studio \examples directory.

Once you have implemented the interfaces, compile them into your own .jar file ( myCustomFileSystem.jar, for example), and register the file system with Stylus Studio.

 
Free Stylus Studio XML Training: