com.nonesole.persistence.file.catalog
Class CatalogFactory

java.lang.Object
  extended by com.nonesole.persistence.file.catalog.CatalogFactory

public class CatalogFactory
extends java.lang.Object

Catalog Factory

Version:
1.0 - build in 2009-07-25
Author:
JACK LEE

Constructor Summary
CatalogFactory()
           
 
Method Summary
 java.lang.String getDefaultFileName()
          Get default manage file name of catalog service from config.properties file
static CatalogFactory getInstance()
           
 ICatalog getMemoryCatalog(java.lang.String filePath)
          Rapidly get Catalog of filePath
 CatalogFactory reload(java.lang.String filePath)
          Get Catalog of filePath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogFactory

public CatalogFactory()
Method Detail

getInstance

public static final CatalogFactory getInstance()

reload

public final CatalogFactory reload(java.lang.String filePath)
                            throws OperationsException,
                                   java.io.IOException
Get Catalog of filePath

Parameters:
filePath -
Returns:
ICatalog object
Throws:
OperationsException
java.io.IOException

getMemoryCatalog

public final ICatalog getMemoryCatalog(java.lang.String filePath)
                                throws OperationsException,
                                       java.io.IOException
Rapidly get Catalog of filePath

Parameters:
filePath -
Returns:
ICatalog object
Throws:
OperationsException
java.io.IOException

getDefaultFileName

public final java.lang.String getDefaultFileName()
                                          throws java.io.IOException
Get default manage file name of catalog service from config.properties file

Returns:
fileName
Throws:
java.io.IOException