public class StatisticsPrinter extends Object
Modifier and Type | Field and Description |
---|---|
protected static BufferedReader |
stdInn |
protected TopicMapIF |
tm |
Constructor and Description |
---|
StatisticsPrinter(TopicMapIF tm)
Constructor that accepts a topicmap as argument.
|
Modifier and Type | Method and Description |
---|---|
protected void |
countAssociationDep()
Handles all the assciation dependecies.
|
protected void |
countTopics()
Handles all the counting of different topics.
|
protected String |
format(String t)
Method used for pretty print.
|
protected void |
getNoTypeTopics()
Handles all the topics without type.
|
protected String |
getTopicId(TopicIF topic) |
static void |
main(String[] argv) |
protected static void |
print(String s)
Lazy print, used internaly.
|
protected static String |
requestFile()
Used to request a filename when none is given.
|
protected static void |
usage() |
protected static BufferedReader stdInn
protected TopicMapIF tm
public StatisticsPrinter(TopicMapIF tm)
protected static String requestFile()
protected void countTopics()
protected void countAssociationDep()
protected void getNoTypeTopics()
protected static void print(String s)
public static void main(String[] argv)
protected static void usage()