org.weborganic.bastille.psml
Class PSMLCache

java.lang.Object
  extended by org.weborganic.bastille.psml.PSMLCache

public final class PSMLCache
extends Object

A class to get the PSML from the cache.


Field Summary
static String CACHE_NAME
          Name of the cache.
 
Method Summary
static String getContent(PSMLFile psml)
          Return the cached content of the specified PSML file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_NAME

public static final String CACHE_NAME
Name of the cache.

See Also:
Constant Field Values
Method Detail

getContent

public static String getContent(PSMLFile psml)
                         throws IOException
Return the cached content of the specified PSML file.

Parameters:
psml - The PSML file
Returns:
The PSML content.
Throws:
IOException - If thrown while loading the file.