Class LineDisplayService.DisplayData

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.DisplayDataPart
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.DisplayData
Enclosing class:
LineDisplayService

public static class LineDisplayService.DisplayData extends LineDisplayService.DisplayDataPart
Class describing displayable part of display data.
  • Constructor Details

    • DisplayData

      public DisplayData(String data, boolean mapping, int charset)
      Constructor.
      Parameters:
      data - Print data.
      mapping - Character mapping by service (true) or by application (false).
      charset - Character set to be used during print operation for data.
  • Method Details

    • getData

      public String getData()
      Returns data to be displayed.
      Returns:
      Display data.
    • getServiceIsMapping

      public boolean getServiceIsMapping()
      Returns whether the service maps data.
      Returns:
      If true, Data contains unmapped data and the service must perform character conversion, if necessary. If false, Data contains mapped data and the service does not need to perform conversion (Data will be copied character-to-byte into the output buffer).
    • getCharacterSet

      public int getCharacterSet()
      Returns character set to be used for output.
      Returns:
      Character set.