public class ArchiveRecordWritable extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ArchiveRecordWritable.ArchiveFormat
Archive Formats that can be used. 
 | 
| Constructor and Description | 
|---|
ArchiveRecordWritable()
Utility function. 
 | 
ArchiveRecordWritable(org.archive.io.ArchiveRecord r)
Initialize Archive Record. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
detectFormat()
Detect format of Archive Record. 
 | 
ArchiveRecordWritable.ArchiveFormat | 
getFormat()
Get format of Archive Record. 
 | 
org.archive.io.ArchiveRecord | 
getRecord()
Get Archive Record. 
 | 
void | 
readFields(DataInput in)  | 
void | 
setFormat(ArchiveRecordWritable.ArchiveFormat f)
Set format of Archive Record. 
 | 
void | 
setRecord(org.archive.io.ArchiveRecord r)
Set Archive Record. 
 | 
void | 
write(DataOutput out)  | 
public ArchiveRecordWritable()
public ArchiveRecordWritable(org.archive.io.ArchiveRecord r)
r - Archive Recordpublic final void setRecord(org.archive.io.ArchiveRecord r)
r - Archive Recordpublic final org.archive.io.ArchiveRecord getRecord()
public final void detectFormat()
public final ArchiveRecordWritable.ArchiveFormat getFormat()
public final void setFormat(ArchiveRecordWritable.ArchiveFormat f)
f - format of Archive Recordpublic final void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic final void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2018 The Archives Unleased Project. All rights reserved.