|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jwat.warc.WarcWriter
org.jwat.warc.WarcWriterUncompressed
public class WarcWriterUncompressed
WARC Writer implementation for writing uncompressed files.
| Field Summary |
|---|
| Fields inherited from class org.jwat.warc.WarcWriter |
|---|
bExceptionOnContentLengthMismatch, diagnostics, fieldParser, header, headerContentLength, out, payloadWrittenTotal, S_HEADER_WRITTEN, S_INIT, S_PAYLOAD_WRITTEN, S_RECORD_CLOSED, state, stream_copy_buffer, warcDateFormat |
| Method Summary | |
|---|---|
void |
close()
Close WARC writer and free its resources. |
void |
closeRecord()
Close the WARC record. |
boolean |
isCompressed()
Is this writer producing compressed output. |
byte[] |
writeHeader(WarcRecord record)
Write a WARC header to the WARC output stream. |
| Methods inherited from class org.jwat.warc.WarcWriter |
|---|
closeRecord_impl, exceptionOnContentLengthMismatch, init, setExceptionOnContentLengthMismatch, streamPayload, writeHeader_impl, writeHeader, writePayload, writePayload |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isCompressed()
WarcWriter
isCompressed in class WarcWriterpublic void close()
WarcWriter
close in class WarcWriter
public void closeRecord()
throws IOException
WarcWriter
closeRecord in class WarcWriterIOException - if an exception occurs while closing the record
public byte[] writeHeader(WarcRecord record)
throws IOException
WarcWriter
writeHeader in class WarcWriterrecord - WARC record to output
IOException - if an exception occurs while writing header data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||