Class PathLoader
java.lang.Object
net.sf.basedb.clients.web.plugins.PathLoader
- All Implemented Interfaces:
DataLoader<Nameable>
public class PathLoader extends Object implements DataLoader<Nameable>
This is a loader implementation that load the path of a file or directory.
- Since:
- 3.4
- Author:
- Nicklas
- Last modified
- $Date$
-
Field Summary
Fields Modifier and Type Field Description private SpecialQuery<BioMaterialEventSource>
query
-
Constructor Summary
Constructors Constructor Description PathLoader()
-
Method Summary
Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, Nameable item)
Get the value for the specified property.
-
Field Details
-
query
-
-
Constructor Details
-
PathLoader
public PathLoader()
-
-
Method Details
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, Nameable item) throws ExceptionDescription copied from interface:DataLoader
Get the value for the specified property.- Specified by:
getData
in interfaceDataLoader<Nameable>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-