net.sourceforge.jsxe
Class CatalogManager

java.lang.Object
  extended bynet.sourceforge.jsxe.CatalogManager

public class CatalogManager
extends Object

The CatalogManager implements cataloging external entities to a local cache so that it can be later retrieved without having to retrieve it from the external source on every parse.

Version:
$Id: CatalogManager.java,v 1.5 2006/01/19 06:55:22 ian_lewis Exp $
Author:
Slava Pestov, Chris Stevenson, Ian Lewis (IanLewis@member.fsf.org)

Nested Class Summary
static class CatalogManager.Entry
           
 
Constructor Summary
CatalogManager()
           
 
Method Summary
static void clearCache()
           
static boolean isLocal(CatalogManager.Entry e)
           
static void propertiesChanged()
           
static void reloadCatalogs()
           
static org.xml.sax.InputSource resolve(String current, String publicId, String systemId)
           
static void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogManager

public CatalogManager()
Method Detail

resolve

public static org.xml.sax.InputSource resolve(String current,
                                              String publicId,
                                              String systemId)
                                       throws Exception
Throws:
Exception

isLocal

public static boolean isLocal(CatalogManager.Entry e)

propertiesChanged

public static void propertiesChanged()

save

public static void save()

clearCache

public static void clearCache()

reloadCatalogs

public static void reloadCatalogs()