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 void
clear()
Clears all data in this document.void
setRootBlock(XBBlock block)
Sets root block of the document.void
setTailData(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.IOException
Sets tail data.- Parameters:
source
- data stream- Throws:
java.io.IOException
- exception on input/output error
-
clear
void clear()
Clears all data in this document.
-
-