Package org.duracloud.manifest.impl
Class TsvManifestFormatter
- java.lang.Object
-
- org.duracloud.manifest.impl.ManifestFormatterBase
-
- org.duracloud.manifest.impl.TsvManifestFormatter
-
- All Implemented Interfaces:
ManifestFormatter
public class TsvManifestFormatter extends ManifestFormatterBase
This class formats content manifests as tab-separated-values (TSV).- Author:
- Andrew Woods Date: 3/29/12
-
-
Constructor Summary
Constructors Constructor Description TsvManifestFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringformatLine(String contentMd5, String spaceId, String contentId)StringgetHeader()Returns the header if there is one, otherwise null.protected org.slf4j.Loggerlog()org.duracloud.mill.db.model.ManifestItemparseLine(String line)Parses a line into a ManifestItem-
Methods inherited from class org.duracloud.manifest.impl.ManifestFormatterBase
formatLine, formatLine, writeEventsToOutput, writeHeader, writeManifestItemToOutput
-
-
-
-
Method Detail
-
log
protected org.slf4j.Logger log()
- Specified by:
login classManifestFormatterBase
-
getHeader
public String getHeader()
Description copied from interface:ManifestFormatterReturns the header if there is one, otherwise null.- Returns:
-
formatLine
protected String formatLine(String contentMd5, String spaceId, String contentId)
- Specified by:
formatLinein classManifestFormatterBase
-
parseLine
public org.duracloud.mill.db.model.ManifestItem parseLine(String line) throws ParseException
Description copied from interface:ManifestFormatterParses a line into a ManifestItem- Returns:
- Throws:
ParseException
-
-