Class StatisticsPrinter
java.lang.Object
net.ontopia.topicmaps.cmdlineutils.StatisticsPrinter
PUBLIC: Prints various kinds of statistics for topic maps.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor that accepts a topicmap as argument. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidHandles all the assciation dependecies.protected voidHandles all the counting of different topics.protected StringMethod used for pretty print.protected voidHandles all the topics without type.protected StringgetTopicId(TopicIF topic) static voidprotected static voidLazy print, used internaly.protected static StringUsed to request a filename when none is given.protected static voidusage()
-
Field Details
-
stdInn
-
tm
-
-
Constructor Details
-
StatisticsPrinter
Constructor that accepts a topicmap as argument.
-
-
Method Details
-
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
Method used for pretty print. -
print
Lazy print, used internaly. -
getTopicId
-
main
-
usage
protected static void usage()
-