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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, Nameable item)
Get the value for the specified property.
-
-
-
Field Detail
-
query
private final SpecialQuery<BioMaterialEventSource> query
-
-
Method Detail
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, Nameable item) throws Exception
Description 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.
-
-