Class XNetLocoInfoDHUnitFormatter
- java.lang.Object
-
- jmri.jmrix.lenz.messageformatters.XNetLocoInfoDHUnitFormatter
-
- All Implemented Interfaces:
XPressNetMessageFormatter
,MessageFormatter
public class XNetLocoInfoDHUnitFormatter extends java.lang.Object implements XPressNetMessageFormatter
Format replies for XPressNet Command Station reply for Loco Info DH Unit.
-
-
Constructor Summary
Constructors Constructor Description XNetLocoInfoDHUnitFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatMessage(Message m)
Format the message into a stringboolean
handlesMessage(Message m)
Determine if this formatter can handle the message
-
-
-
Constructor Detail
-
XNetLocoInfoDHUnitFormatter
public XNetLocoInfoDHUnitFormatter()
-
-
Method Detail
-
handlesMessage
public boolean handlesMessage(Message m)
Description copied from interface:MessageFormatter
Determine if this formatter can handle the message- Specified by:
handlesMessage
in interfaceMessageFormatter
- Parameters:
m
- message to check- Returns:
- true if this formatter can handle the message
-
formatMessage
public java.lang.String formatMessage(Message m)
Description copied from interface:MessageFormatter
Format the message into a string- Specified by:
formatMessage
in interfaceMessageFormatter
- Parameters:
m
- message to format- Returns:
- formatted string
-
-