|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.db.dmtp.ClientDiagnostics
public class ClientDiagnostics
| Field Summary |
|---|
| Fields inherited from interface org.opendmtp.codes.ClientDiagnostics |
|---|
DIAG_INTERNAL_DIAG_E000, DIAG_INTERNAL_DIAG_FFFF, DIAG_OBC_J1708_VALUE, DIAG_UPLOAD_ACK |
| Method Summary | |
|---|---|
static java.lang.String |
getDescription(int diagCode)
Gets the code description |
static java.lang.String |
getStringValue(int diagCode,
boolean inclDesc,
byte[] diagData)
Gets the Description and/or converts the specified binary value to a String |
static java.lang.String |
getStringValue(int diagCode,
boolean inclDesc,
byte[] diagData,
java.util.TimeZone tz)
Gets the Description and/or converts the specified binary value to a String |
static java.lang.String |
getStringValue(int diagCode,
byte[] diagData)
Gets the String representation of the specified data for the specified diagnostic code |
static java.lang.String |
getStringValue(int diagCode,
byte[] diagData,
java.util.TimeZone tz)
Gets the String representation of the specified data for the specified diagnostic code |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getDescription(int diagCode)
diagCode - The diagnostic code
public static java.lang.String getStringValue(int diagCode,
byte[] diagData)
diagCode - The diagnostic codediagData - The binary payload data
public static java.lang.String getStringValue(int diagCode,
byte[] diagData,
java.util.TimeZone tz)
diagCode - The diagnostic codediagData - The binary payload datatz - A TimeZone used convert any dates encountered
public static java.lang.String getStringValue(int diagCode,
boolean inclDesc,
byte[] diagData)
diagCode - The diagnostic codeinclDesc - True to include the description, false to omitdiagData - The binary payload data
public static java.lang.String getStringValue(int diagCode,
boolean inclDesc,
byte[] diagData,
java.util.TimeZone tz)
diagCode - The diagnostic codeinclDesc - True to include the description, false to omitdiagData - The binary payload datatz - A TimeZone used convert any dates encountered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||