public class StringConverter extends Object
| Constructor and Description |
|---|
StringConverter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
arrayToHexString(byte[] b) |
static String |
byteBufferToHexString(ByteBuffer bb) |
static byte[] |
hexStringToArray(String s)
Convert a hex string into a byte array.
|
static String |
idListToString(List<Yamcs.NamedObjectId> idList)
Convert a list of NamedObjectId to a pretty string for use in log messages etc.
|
static String |
idToString(Yamcs.NamedObjectId id)
Convert a NamedObjectId to a pretty string for use in log messages etc.
|
static String |
toString(Commanding.CommandId cmdId) |
static String |
toString(Yamcs.Value rv) |
static String |
toString(Yamcs.Value rv,
boolean withType)
Deprecated.
|
public static String toString(Yamcs.Value rv)
@Deprecated public static String toString(Yamcs.Value rv, boolean withType)
Object.toString() instead.public static String arrayToHexString(byte[] b)
public static String byteBufferToHexString(ByteBuffer bb)
public static byte[] hexStringToArray(String s)
s - - string to be convertedpublic static String idToString(Yamcs.NamedObjectId id)
public static String idListToString(List<Yamcs.NamedObjectId> idList)
public static String toString(Commanding.CommandId cmdId)
Copyright © 2019 Space Applications Services. All rights reserved.