edu.berkeley.cs.db.yfilterplus.dtdscanner
Class DTDStatReader

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.dtdscanner.DTDStatReader

public class DTDStatReader
extends java.lang.Object


Constructor Summary
DTDStatReader()
          fill in the content of m_elements using dtd.
 
Method Summary
 java.util.Hashtable getElements()
           
 java.lang.String getRoot()
           
static void main(java.lang.String[] args)
           
 void print()
           
 void printToFile()
           
 void readStat(java.lang.String domain)
           
 void readStatFromFile(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDStatReader

public DTDStatReader()
fill in the content of m_elements using dtd. it is a data structure returned by DTDParser and contains a hashtable of all elements and their contents, rootElement, etc.

Method Detail

readStat

public void readStat(java.lang.String domain)

readStatFromFile

public void readStatFromFile(java.lang.String fileName)

getElements

public java.util.Hashtable getElements()

getRoot

public java.lang.String getRoot()

print

public void print()

printToFile

public void printToFile()

main

public static void main(java.lang.String[] args)