appl.data
Class FactoryLoader

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

public class FactoryLoader
extends Object
implements DataLoader

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

Author:
Dominik Appl
See Also:
WritableGridLLProxy, Serialized Form

Constructor Summary
FactoryLoader(WritableGridFactory factory, RasterMetaData metaData)
           
 
Method Summary
 String getLoadInfo()
           
 WritableGrid 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

FactoryLoader

public FactoryLoader(WritableGridFactory factory,
                     RasterMetaData metaData)
Parameters:
factory - the factory which is used for instantiation
metaData - the meta data is required for grid instantiation
Method Detail

load

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

Specified by:
load in interface DataLoader
Returns:
the newly loaded object

getLoadInfo

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