net.ontopia.topicmaps.cmdlineutils
Class SanityChecker

java.lang.Object
  extended by net.ontopia.topicmaps.cmdlineutils.SanityChecker

public class SanityChecker
extends java.lang.Object

PUBLIC: Checks a topic map for dubious constructs.


Field Summary
protected  TopicMapIF tm
           
protected  StringifierIF ts
           
 
Constructor Summary
SanityChecker(java.io.File file)
          Constructor that accepts a File object as argument (XTM file).
SanityChecker(LocatorIF url)
          Constructor that accepts a url as argument (XTM file).
SanityChecker(java.lang.String url)
          Constructor that accepts a url as argument (XTM file).
SanityChecker(TopicMapIF tm)
          Constructor that accepts a topicmap as argument.
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tm

protected TopicMapIF tm

ts

protected StringifierIF ts
Constructor Detail

SanityChecker

public SanityChecker(TopicMapIF tm)
Constructor that accepts a topicmap as argument.


SanityChecker

public SanityChecker(java.io.File file)
              throws java.net.MalformedURLException,
                     java.io.IOException
Constructor that accepts a File object as argument (XTM file).

Throws:
java.net.MalformedURLException
java.io.IOException

SanityChecker

public SanityChecker(java.lang.String url)
              throws java.net.MalformedURLException,
                     java.io.IOException
Constructor that accepts a url as argument (XTM file).

Throws:
java.net.MalformedURLException
java.io.IOException

SanityChecker

public SanityChecker(LocatorIF url)
              throws java.io.IOException
Constructor that accepts a url as argument (XTM file).

Throws:
java.io.IOException
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2012 Ontopia.