org.egothor.cache.apps
Class BarrelStatistics

java.lang.Object
  extended by org.egothor.cache.apps.BarrelStatistics

public class BarrelStatistics
extends java.lang.Object

Console application that prints basic statistics of a barrel.


Constructor Summary
BarrelStatistics()
           
 
Method Summary
static void main(java.lang.String[] args)
          Prints to the console every term that has an inverted list in the format of tab separated fields of inverted list length and term
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarrelStatistics

public BarrelStatistics()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Prints to the console every term that has an inverted list in the format of tab separated fields of inverted list length and term

Takes one parameter - location of the barrel.

Parameters:
args - the command line arguments
Throws:
java.io.IOException - when a problem accessing a file occurres