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
Class describing displayable part of display data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns character set to be used for output.getData()
Returns data to be displayed.boolean
Returns whether the service maps data.
-
Constructor Details
-
DisplayData
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
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.
-