public class ArcWriterUncompressed extends ArcWriter
bExceptionOnContentLengthMismatch, diagnostics, fieldParsers, header, headerContentLength, out, payloadWrittenTotal, S_HEADER_WRITTEN, S_INIT, S_PAYLOAD_WRITTEN, S_RECORD_CLOSED, state, stream_copy_buffer| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close ARC writer and free its resources.
|
void |
closeRecord()
Close the ARC record in an implementation specific way.
|
boolean |
isCompressed()
Is this writer producing compressed output.
|
byte[] |
writeHeader(ArcRecordBase record)
Write a ARC header to the ARC output stream.
|
closeRecord_impl, exceptionOnContentLengthMismatch, init, setExceptionOnContentLengthMismatch, streamPayload, writeHeader_impl, writePayload, writePayload, writeRawHeaderpublic boolean isCompressed()
ArcWriterisCompressed in class ArcWriterpublic void close() throws java.io.IOException
ArcWriterpublic void closeRecord() throws java.io.IOException
ArcWritercloseRecord in class ArcWriterjava.io.IOException - if an I/O exception occurs while closing the recordpublic byte[] writeHeader(ArcRecordBase record) throws java.io.IOException
ArcWriterwriteHeader in class ArcWriterrecord - ARC record to outputjava.io.IOException - if an I/O exception occurs while writing header dataCopyright © 2011–2022. All rights reserved.