Class DeltaDocumentOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.exbin.auxiliary.paged_data.delta.DeltaDocumentOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable,org.exbin.auxiliary.paged_data.FinishableStream,org.exbin.auxiliary.paged_data.SeekableStream
@ParametersAreNonnullByDefault public class DeltaDocumentOutputStream extends java.io.OutputStream implements org.exbin.auxiliary.paged_data.SeekableStream, org.exbin.auxiliary.paged_data.FinishableStreamDelta document output stream.
-
-
Constructor Summary
Constructors Constructor Description DeltaDocumentOutputStream(DeltaDocument document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longfinish()longgetProcessedSize()longgetStreamSize()voidseek(long position)voidwrite(byte[] input, int offset, int length)voidwrite(int value)
-
-
-
Constructor Detail
-
DeltaDocumentOutputStream
public DeltaDocumentOutputStream(DeltaDocument document)
-
-
Method Detail
-
write
public void write(int value) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] input, int offset, int length) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
seek
public void seek(long position) throws java.io.IOException- Specified by:
seekin interfaceorg.exbin.auxiliary.paged_data.SeekableStream- Throws:
java.io.IOException
-
getStreamSize
public long getStreamSize()
- Specified by:
getStreamSizein interfaceorg.exbin.auxiliary.paged_data.SeekableStream
-
getProcessedSize
public long getProcessedSize()
- Specified by:
getProcessedSizein interfaceorg.exbin.auxiliary.paged_data.FinishableStream
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream- Throws:
java.io.IOException
-
finish
public long finish() throws java.io.IOException- Specified by:
finishin interfaceorg.exbin.auxiliary.paged_data.FinishableStream- Throws:
java.io.IOException
-
-