public class BagItWriter extends Object
| Constructor and Description |
|---|
BagItWriter(Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeManifestLine(OutputStream out,
String checksum,
String filepath)
Each line of a payload manifest file MUST be of the form
checksum filepath
where _filepath_ is the pathname of a file relative to the base
directory, and _checksum_ is a hex-encoded checksum calculated by
applying _algorithm_ over the file.
|
void |
writeTagLine(OutputStream out,
String label,
String value) |
public BagItWriter(Charset charset)
public void writeTagLine(OutputStream out, String label, String value) throws IOException
IOExceptionpublic void writeManifestLine(OutputStream out, String checksum, String filepath) throws IOException
out - checksum - filepath - IOExceptionCopyright © 2019. All rights reserved.