CDF Editor

CDF Editor is a Java application to edit Channel Description Format (CDF) files. User loads a CDF file and edit the channels and items.

How to run

First, you need to have Java 1.1 installed in your PATH environment variable. You should specify a class path that include packages com.ibm.xml.parser and samples.CdfEditor. With a standard installation, these packages reside in the jar file named xml4j_n_n_n.jar. If they are located in a different place from xml4j_n_n_n.jar, you should replace it accordingly.

CDF Editor is executed by the following command:

 jre -cp 'xml4j_n_n_n.jar' samples.CdfEditor.CdfEditor [cdf-filename]

If the cdf-filename is specified, CDFEditor parses it and displays its structure. When cdf-filename is not specified, user can specify the file by using File Dialog Window, or scan a site to create a CDF file by using siteoutliner, which is also sample application for Java for XML.

Menu Functions

When a CDF file is loaded, CDF editor shows a top node of the file. By clicking left button on the node, you can see the children node of the it. If the parent node is clicked again, the children is hidden.

CDF Editor provides the following function from Menu bar.
Function Description
Open Specify CDF file with file dialog.
Scan Call siteoutliner. The output from it is sent to this editor.
Save Save CDF file with file dialog. File type ".cdf" is recommended.
Quit Quit this program


Go to README