KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > bsf > octopuss > TestOctopus


1 package org.bsf.octopuss;
2
3 import org.webdocwf.util.loader.Loader;
4 import org.webdocwf.util.loader.LoaderException;
5
6 /**
7  * TestOctopus
8  */

9 public class TestOctopus {
10     public TestOctopus() {
11         super();
12
13         loadCommandFile();
14     }
15
16     private void loadCommandFile() {
17         String JavaDoc fileName = "D:/projects/fwk2/listOfValues/src/test/org/bsf/octopuss/MyLoadJob.xml";
18
19         Loader myOctopus = new Loader( fileName, Loader.LOGMODE_NONE, "myID", null, null,
20                                        false, null, null, true, null, 0, 1 );
21
22         try {
23             myOctopus.load();
24         } catch( LoaderException e ) {
25             e.printStackTrace();
26         }
27     }
28
29     public static void main( String JavaDoc[] args ) {
30         TestOctopus myTest = new TestOctopus();
31     }
32 }
33
Popular Tags