org.apache.oodt.commons.activity
Class WriterStorage
java.lang.Object
org.apache.oodt.commons.activity.WriterStorage
- All Implemented Interfaces:
- Storage
- Direct Known Subclasses:
- StandardOutputStorage
public abstract class WriterStorage
- extends Object
- implements Storage
Storage that sends activity reports to a Writer as plain text.
- Version:
- $Revision: 1.1 $
- Author:
- Kelly
|
Method Summary |
|---|
void |
store(String id,
List incidents)
Write a line of text for a stored activity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected PrintWriter writer
- Where to send the text.
WriterStorage
protected WriterStorage(Writer writer)
- Creates a new
WriterStorage instance.
- Parameters:
writer - Where to write activity reports.
store
public void store(String id,
List incidents)
- Write a line of text for a stored activity.
The format is
activityID[incident,incident...].
- Specified by:
store in interface Storage
- Parameters:
id - a String value.incidents - a List value.
Copyright © 1999-2012 Apache OODT. All Rights Reserved.