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
Class describing printable part of print data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns character set to be used for output.Returns data to be printed.boolean
Returns whether PrintData needs mapping.
-
Constructor Details
-
PrintData
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
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.
-