Class Contract

java.lang.Object
org.daisy.braille.embosser.Contract

public class Contract extends Object
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
  • Method Details

    • getBrailleRange

      public org.daisy.braille.embosser.Contract.BrailleRange getBrailleRange()
      Gets the braille range in this Contract
      Returns:
      returns the braille range
    • getPages

      public Integer getPages()
      Gets the number of pages in this contract
      Returns:
      returns the number of pages, or null if not set