Package org.exbin.xbup.core.block
Interface XBEditableDocument
-
- All Superinterfaces:
XBDocument
- All Known Implementing Classes:
XBDefaultEditableDocument
@ParametersAreNonnullByDefault public interface XBEditableDocument extends XBDocument
Interface for editable XBUP level 0 document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clears all data in this document.voidsetRootBlock(XBBlock block)Sets root block of the document.voidsetTailData(java.io.InputStream source)Sets tail data.-
Methods inherited from interface org.exbin.xbup.core.block.XBDocument
getDocumentSize, getRootBlock, getTailData, getTailDataSize
-
-
-
-
Method Detail
-
setRootBlock
void setRootBlock(XBBlock block)
Sets root block of the document.- Parameters:
block- the block to use as root block for this document
-
setTailData
void setTailData(@Nullable java.io.InputStream source) throws java.io.IOExceptionSets tail data.- Parameters:
source- data stream- Throws:
java.io.IOException- exception on input/output error
-
clear
void clear()
Clears all data in this document.
-
-