ehcache

net.sf.ehcache.config
Class DiskStoreConfiguration

java.lang.Object
  extended bynet.sf.ehcache.config.DiskStoreConfiguration

public final class DiskStoreConfiguration
extends java.lang.Object

A class to represent DiskStore configuration e.g.

Version:
$Id: DiskStoreConfiguration.java 52 2006-04-24 14:50:03Z gregluck $
Author:
Greg Luck

Constructor Summary
DiskStoreConfiguration()
           
 
Method Summary
 java.lang.String getPath()
          The diskStore path
 void setPath(java.lang.String path)
          Translates and sets the path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskStoreConfiguration

public DiskStoreConfiguration()
Method Detail

getPath

public final java.lang.String getPath()
The diskStore path


setPath

public final void setPath(java.lang.String path)
Translates and sets the path.

Parameters:
path - If the path contains a Java System Property it is replaced by its value in the running VM. Subdirectories can be specified below the property e.g. java.io.tmpdir/one The following properties are translated:
  • user.home - User's home directory
  • user.dir - User's current working directory
  • java.io.tmpdir - Default temp file path
e.g. java.io/tmpdir/caches might become /tmp/caches

ehcache

true