Save This Page
Home » apache-log4j-1.2.15 » examples » basic » [javadoc | source]
examples.basic
public class: ParseTopicMap [javadoc | source]
java.lang.Object
   examples.basic.ParseTopicMap
Example command-line application which loads a topic map into a topic map provider and then prints out the topics that it contains. This example shows: 1) How different back-ends can be used without changing the source code 2) How to parse an XTM or LTM file from the local file system or from a URL 3) How to create an XTM 'consistent' topic map. This application can be invoked as follows: java [-Dbackend_option=value] examples.basic.ParseTopicMap input_address [backend_class_name] where:
Constructor:
 public ParseTopicMap(String inputAddress,
    String backendClassName,
    Properties backendProps) throws Exception 
    Constructor for the application which validates the input parameters and creates a connection to the back-end to be used for parsing the topic map.
Method from examples.basic.ParseTopicMap Summary:
main,   run,   usage
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from examples.basic.ParseTopicMap Detail:
 public static  void main(String[] args) 
 public  void run() throws Exception 
    The main application processing
 public static  void usage()