Interface ContractEmbosserWriter
-
- All Superinterfaces:
AutoCloseable,Closeable,EmbosserWriter,EmbosserWriterProperties
- All Known Implementing Classes:
IndexContractEmbosserWriter
public interface ContractEmbosserWriter extends EmbosserWriter
Extends embosser writer with an internal contract.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidopen(boolean duplex, InternalContract contract)Opens for writing using the specified contract.-
Methods inherited from interface org.daisy.dotify.api.embosser.EmbosserWriter
getRowGap, isClosed, isOpen, newLine, newPage, newSectionAndPage, newVolumeSectionAndPage, open, setRowGap, write
-
Methods inherited from interface org.daisy.dotify.api.embosser.EmbosserWriterProperties
getMaxWidth, supportsAligning
-
-
-
-
Method Detail
-
open
void open(boolean duplex, InternalContract contract) throws IOException, InternalContractNotSupportedExceptionOpens for writing using the specified contract.- Parameters:
duplex- if both sides of sheets should be used, false otherwisecontract- the contract- Throws:
IOException- if an I/O exception of some sort has occurredInternalContractNotSupportedException- if the supplied contract is not supported, that is to say if the contract does not contain information required by the implementation
-
-