| |
|
| java.lang.Object org.openharmonise.vfs.metadata.ValueCache
ValueCache | public class ValueCache (Code) | | The value cache was initially intended to cache values and value groups
so that they are not fetched constantly from the Harmonise server.
However this is impractical as version information is not supplied
with value instances. Currently, the value cache simply
manages the conversion from virtual file resources to value or value
group objects.
author: Matthew Large version: $Revision: 1.1 $ |
ValueCache | public ValueCache()(Code) | | |
getInstance | public static ValueCache getInstance()(Code) | | Returns the instance of the value cache. Follows the Singleton
pattern.
The value cache |
getValue | public Value getValue(String sHREF)(Code) | | Returns a value for a given full path to the virtual file for that
value.
Parameters: sHREF - Full path Value or null if not found. |
getValueGroup | public ValueGroup getValueGroup(String sHREF)(Code) | | Returns a value group for a given full path to the virtual file
for that value group.
Parameters: sHREF - Full path Value group or null if not found |
load | public void load(String sFilePath)(Code) | | Loads stored cache information from an XML file.
Parameters: sFilePath - Path to XML file |
save | public void save(String sFilePath)(Code) | | Saves cache information to an XML file.
Parameters: sFilePath - Full path to XML file |
|
|
|