|
Home > Online Product Documentation > Table of Contents > Example - demo.bat Example - demo.bat
The following example shows an implementation of a simple application built using the Stylus Studio File System Java API. The application,
Demonstration Files
The files required to run this demonstration are installed in the
demo.java
Here is the
Required classes
The file starts with the Java and Stylus Studio File System Java API classes and interfaces required by
Setting the installation directory
User-defined adapters (
These lines are commented out in
Creating an instance of StylusFile
Next, the
The copy () method
The
The
Whether your files are saved as XML or non-XML depends on how the
Converting a file to XML
Once the new instance of
In this block of code, the adapter URL is used to specify the
Converting an XML document to another format
This exception block specifies the
Using an adapter URL with a user-defined adapter
The final exception block uses a user-defined adapter built using the Convert to XML module (
As with the first exception block, this block uses the adapter URL to specify the
|
Forest & Paper Products
Many forest & paper product companies realize the best XML suite doesn't have "pay per" features. That's why these top forest & paper product companies choose Stylus Studio 2006 to get the world's best XML features all in one bundle!
Consumer Food Products
Want to know what special ingredient is in these consumer food product companies work enviornment? Well it's a touch Stylus Studio that give these consumer food product companies the extra edge they need for producing such high quality food products!
Learn XSLT and XQuery Profiling
Stylus Studio's Profiler can help you evaluate the performance of your XQuery and XSLT. Automatically generated, customizable, easy-to-read HTML reports provide insight into performance bottlenecks.
DTD Generator
Stylus Studio's DTD Generator supports the automatic generation and association of both internal and external DTDs based on XML instance documents.