|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.cmdlineutils.StatisticsPrinter
public class StatisticsPrinter
PUBLIC: Prints various kinds of statistics for topic maps.
Field Summary | |
---|---|
protected static java.io.BufferedReader |
stdInn
|
protected TopicMapIF |
tm
|
protected StringifierIF |
ts
|
Constructor Summary | |
---|---|
StatisticsPrinter(TopicMapIF tm)
Constructor that accepts a topicmap as argument. |
Method Summary | |
---|---|
protected void |
countAssociationDep()
Handles all the assciation dependecies. |
protected void |
countTopics()
Handles all the counting of different topics. |
protected java.lang.String |
format(java.lang.String t)
Method used for pretty print. |
protected void |
getNoTypeTopics()
Handles all the topics without type. |
protected java.lang.String |
getTopicId(TopicIF topic)
|
static void |
main(java.lang.String[] argv)
|
protected static void |
print(java.lang.String s)
Lazy print, used internaly. |
protected static java.lang.String |
requestFile()
Used to request a filename when none is given. |
protected static void |
usage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.io.BufferedReader stdInn
protected TopicMapIF tm
protected StringifierIF ts
Constructor Detail |
---|
public StatisticsPrinter(TopicMapIF tm)
Method Detail |
---|
protected static java.lang.String requestFile()
protected void countTopics()
protected void countAssociationDep()
protected void getNoTypeTopics()
protected java.lang.String format(java.lang.String t)
protected static void print(java.lang.String s)
protected java.lang.String getTopicId(TopicIF topic)
public static void main(java.lang.String[] argv)
protected static void usage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |