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, 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 java.io.IOException
WarcWriterclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class WarcWriterjava.io.IOException - if an I/O exception occurs while closing the writerpublic void closeRecord() throws java.io.IOException
WarcWritercloseRecord in class WarcWriterjava.io.IOException - if an I/O exception occurs while closing the recordpublic byte[] writeHeader(WarcRecord record) throws java.io.IOException
WarcWriterwriteHeader in class WarcWriterrecord - WARC record to outputjava.io.IOException - if an I/O exception occurs while writing header dataCopyright © 2011–2023. All rights reserved.