iitb.con.ds
Class TypeTableFactory

java.lang.Object
  extended by iitb.con.ds.TypeTableFactory

public class TypeTableFactory
extends java.lang.Object

Factory class to create the Type Table which holds the Types (Type) It maintains a single instance of Type Table.


Constructor Summary
TypeTableFactory()
           
 
Method Summary
static ItemTable<java.lang.String,java.lang.Short,Type> getTypeTable(java.lang.String fileName, java.lang.String mode)
          Returns the Type Table
static void shutDown()
          Shutdowns the Type Table factory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeTableFactory

public TypeTableFactory()
Method Detail

getTypeTable

public static ItemTable<java.lang.String,java.lang.Short,Type> getTypeTable(java.lang.String fileName,
                                                                            java.lang.String mode)
Returns the Type Table

Parameters:
fileName - type table file name
mode - opening mode (r, rw)
Returns:
Type Table
See Also:
ItemTable

shutDown

public static void shutDown()
Shutdowns the Type Table factory.

This method is used to close the concept-net