Class PointCardRWService.EscEmbedded

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

public static class PointCardRWService.EscEmbedded extends PointCardRWService.PrintDataPart
Class describing embedded escape sequences ESC|[*]#E.
  • Method Details

    • getData

      public String getData()
      Embedded data, data to be sent to the device unchanged.
      Returns:
      Embedded data.
    • getEscEmbedded

      public static PointCardRWService.PrintDataPart getEscEmbedded(PointCardRWService.PrintDataPart obj, int type, int subtype, String escdata)
      Checks whether the specified esc sequence parameters form an embedded sequence. If so, it returns an EscEmbedded object. If not, the object given as first parameter will be returned.
      Parameters:
      obj - An object containing corresponding sequence parameters or null.
      type - The sequence type (see EscUnknown, property Esc).
      subtype - The subtype (see EscUnknown, property Subtype).
      escdata - If value is a data length, the corresponding data. Otherwise null.
      Returns:
      An EscEmbedded object, if the sequence is a well-formed embedded sequence, otherwise obj.