Package org.daisy.braille.embosser
Class Contract
java.lang.Object
org.daisy.braille.embosser.Contract
Provides a usage contract that allows an implementation of
EmbosserWriter to optimize or configure communication based on actual
properties of the expected communication.
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.daisy.braille.embosser.Contract.BrailleRange
Gets the braille range in this ContractgetPages()
Gets the number of pages in this contract
-
Method Details
-
getBrailleRange
public org.daisy.braille.embosser.Contract.BrailleRange getBrailleRange()Gets the braille range in this Contract- Returns:
- returns the braille range
-
getPages
Gets the number of pages in this contract- Returns:
- returns the number of pages, or null if not set
-