public class WarcWriterUncompressed extends WarcWriter
bExceptionOnContentLengthMismatch, diagnostics, fieldParsers, header, headerContentLength, out, payloadWrittenTotal, S_HEADER_WRITTEN, S_INIT, S_PAYLOAD_WRITTEN, S_RECORD_CLOSED, state, stream_copy_buffer, uriProfile, warcDateFormat, warcTargetUriProfile| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close WARC writer and free its resources.
|
void |
closeRecord()
Close the WARC record in an implementation specific way.
|
boolean |
isCompressed()
Is this writer producing compressed output.
|
byte[] |
writeHeader(WarcRecord record)
Write a WARC header to the WARC output stream.
|
closeRecord_impl, exceptionOnContentLengthMismatch, getUriProfile, getWarcTargetUriProfile, init, setExceptionOnContentLengthMismatch, setUriProfile, setWarcTargetUriProfile, streamPayload, writeHeader_impl, writePayload, writePayload, writeRawHeaderpublic boolean isCompressed()
WarcWriterisCompressed in class WarcWriterpublic void close() throws IOException
WarcWriterclose in interface Closeableclose in interface AutoCloseableclose in class WarcWriterIOException - if an i/o exception occurs while closing the writerpublic void closeRecord() throws IOException
WarcWritercloseRecord in class WarcWriterIOException - if an i/o exception occurs while closing the recordpublic byte[] writeHeader(WarcRecord record) throws IOException
WarcWriterwriteHeader in class WarcWriterrecord - WARC record to outputIOException - if an i/o exception occurs while writing header dataCopyright © 2011–2015. All rights reserved.