| |
|
| java.lang.Object org.mmbase.module.core.SmartPathFunction
SmartPathFunction | public class SmartPathFunction (Code) | | Returns the path to use for TREEPART, TREEFILE, LEAFPART and LEAFFILE.
The system searches in a provided base path for a filename that matches the supplied number/alias of
a node (possibly extended with a version number). See the documentation on the TREEPART SCAN command for more info.
This class can be overriden to make an even smarter search possible.
since: MMBase-1.8.5 version: $Id: SmartPathFunction.java,v 1.11 2008/02/03 17:33:57 nklasens Exp $ |
backwardsCompatible | protected boolean backwardsCompatible(Code) | | |
getBackwardsCompatible | public boolean getBackwardsCompatible()(Code) | | |
getSmartPath | protected String getSmartPath()(Code) | | The found path as a String , or null if not found
|
setBackwardsCompatible | public void setBackwardsCompatible(boolean b)(Code) | | |
setNodeNumber | public void setNodeNumber(String nm)(Code) | | The number or alias of the node to filter on
|
setPath | public void setPath(String p)(Code) | | The subpath of the path to search
|
setVersion | public void setVersion(String v)(Code) | | The version number (or null if not applicable) to filter on
|
smartpath | final public String smartpath()(Code) | | The found path as a String , or null if not found
|
|
|
|