appl.data
Class ImportFactoryLoader

java.lang.Object
  extended by appl.data.ImportFactoryLoader
All Implemented Interfaces:
DataLoader, Serializable

public class ImportFactoryLoader
extends Object
implements DataLoader

This is an implementation of a loader class which loads data with an importer. It is for Late Loading.

Author:
Dominik Appl, Dominik Appl
See Also:
WritableGridLLProxy, Serialized Form

Constructor Summary
ImportFactoryLoader(ImportFactory importFac, Object inputPara, XuluRegistry reg)
           
 
Method Summary
 String getLoadInfo()
           
 Object load()
          On invocation the data is loaded and returned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportFactoryLoader

public ImportFactoryLoader(ImportFactory importFac,
                           Object inputPara,
                           XuluRegistry reg)
Parameters:
importFac - the import factory to be used for loading
inputPara - the input object (usually a file)
reg - the XuluRegistry
Method Detail

load

public Object load()
            throws LoadingException
Description copied from interface: DataLoader
On invocation the data is loaded and returned

Specified by:
load in interface DataLoader
Returns:
the newly loaded object
Throws:
LoadingException - if for some reason the data could not be loaded

getLoadInfo

public String getLoadInfo()
Specified by:
getLoadInfo in interface DataLoader
Returns:
some general information about the loading class (like what the class exactly loads)