Class PointCardRWService.PrintData

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.pointcardrw.PointCardRWService.PrintDataPart
de.gmxhome.conrad.jpos.jpos_base.pointcardrw.PointCardRWService.PrintData
Enclosing class:
PointCardRWService

public static class PointCardRWService.PrintData extends PointCardRWService.PrintDataPart
Class describing printable part of print data.
  • Constructor Details

    • PrintData

      public PrintData(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

    • getPrintData

      public String getPrintData()
      Returns data to be printed.
      Returns:
      Print data.
    • getServiceIsMapping

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

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