iitb.con.ds
Class InstanceTableFactory

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

public class InstanceTableFactory
extends java.lang.Object

Factory class to create the Instance Table which holds the instance meta item (InstanceMetaItem) It maintains a single instance of Instance Table.


Constructor Summary
InstanceTableFactory()
           
 
Method Summary
static ItemTable<java.lang.Short,java.lang.Integer,InstanceMetaItem> getInstanceTable(java.lang.String dirName, java.lang.String mode)
          Returns the Instance Table
static void shutDown()
          Shutdowns the Instance Table factory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceTableFactory

public InstanceTableFactory()
Method Detail

getInstanceTable

public static ItemTable<java.lang.Short,java.lang.Integer,InstanceMetaItem> getInstanceTable(java.lang.String dirName,
                                                                                             java.lang.String mode)
Returns the Instance Table

Parameters:
dirName - directory name of the concept-net
mode - opening mode (r, rw)
Returns:
Instance Table
See Also:
ItemTable

shutDown

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

This method is used to close the concept-net