public abstract class ManifestFormatterBase extends Object implements ManifestFormatter
| Constructor and Description |
|---|
ManifestFormatterBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatLine(ContentMessage event) |
String |
formatLine(org.duracloud.mill.db.model.ManifestItem item)
Formats a manifest item into an appropriate line.
|
protected abstract String |
formatLine(String contentMd5,
String spaceId,
String contentId) |
protected abstract org.slf4j.Logger |
log() |
void |
writeEventsToOutput(Collection<ContentMessage> events,
OutputStream output)
This method writes the arg events to the arg output stream.
|
protected void |
writeHeader(OutputStream output) |
void |
writeManifestItemToOutput(org.duracloud.mill.db.model.ManifestItem item,
OutputStream output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeader, parseLinepublic void writeEventsToOutput(Collection<ContentMessage> events, OutputStream output)
ManifestFormatterwriteEventsToOutput in interface ManifestFormatterevents - to writeoutput - destination of formatted eventspublic void writeManifestItemToOutput(org.duracloud.mill.db.model.ManifestItem item,
OutputStream output)
writeManifestItemToOutput in interface ManifestFormatteritem - to writeoutput - destination of formatted items. Null manifest items are ignored.protected void writeHeader(OutputStream output)
protected abstract org.slf4j.Logger log()
public String formatLine(ContentMessage event)
public String formatLine(org.duracloud.mill.db.model.ManifestItem item)
ManifestFormatterformatLine in interface ManifestFormatterCopyright © 2009–2016 DuraSpace. All rights reserved.