uk.org.ogsadai.activity.delivery
Class DeliverFromFileActivity
java.lang.Object
|
+--uk.org.ogsadai.activity.Activity
|
+--uk.org.ogsadai.activity.delivery.AbstractDeliverFromAddressActivity
|
+--uk.org.ogsadai.activity.delivery.DeliverFromFileActivity
- public class DeliverFromFileActivity
- extends AbstractDeliverFromAddressActivity
An activity that reads the data contained in a file on the local filesystem
of a data service resource, and writes it to an output. This output can be
connected to the input of another activity or delivered back to the user in
the response document. See the activity user documentation for more details:
OGSADAI/doc/interaction/activities/delivery/deliverFromFile.html
- Author:
- The OGSA-DAI Project Team
Field Summary |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static DAILogger |
LOG
Logger object for logging in this class |
private java.io.File |
mFromFile
File from which data is to be loaded |
Method Summary |
void |
processFirst()
This method is called during the first iteration of processing
an activity. |
Methods inherited from class uk.org.ogsadai.activity.Activity |
cleanUp, connectsTo, createOutputPipe, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, setActivityName, setCompleted, setError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
- Copyright statement
- See Also:
- Constant Field Values
LOG
private static final DAILogger LOG
- Logger object for logging in this class
mFromFile
private final java.io.File mFromFile
- File from which data is to be loaded
DeliverFromFileActivity
public DeliverFromFileActivity(org.w3c.dom.Element element)
throws ActivityCreationException,
ActivitySpecificationException
processFirst
public void processFirst()
- Description copied from class:
Activity
- This method is called during the first iteration of processing
an activity. It can be overridden by subclasses to define some
processing that should be done only once during the first
iteration of the activity processing, for example evaluating a
database query.
- Specified by:
processFirst
in class AbstractDeliverFromAddressActivity