Class StatisticsPrinter

java.lang.Object
net.ontopia.topicmaps.cmdlineutils.StatisticsPrinter

public class StatisticsPrinter extends Object
PUBLIC: Prints various kinds of statistics for topic maps.

  • Field Details

  • Constructor Details

    • StatisticsPrinter

      public StatisticsPrinter(TopicMapIF tm)
      Constructor that accepts a topicmap as argument.
  • Method Details

    • requestFile

      protected static String requestFile()
      Used to request a filename when none is given.
    • countTopics

      protected void countTopics()
      Handles all the counting of different topics.
    • countAssociationDep

      protected void countAssociationDep()
      Handles all the assciation dependecies.
    • getNoTypeTopics

      protected void getNoTypeTopics()
      Handles all the topics without type.
    • format

      protected String format(String t)
      Method used for pretty print.
    • print

      protected static void print(String s)
      Lazy print, used internaly.
    • getTopicId

      protected String getTopicId(TopicIF topic)
    • main

      public static void main(String[] argv)
    • usage

      protected static void usage()