|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.epcglobal.llrp.helper.LLRPUtils
public class LLRPUtils
| Constructor Summary | |
|---|---|
LLRPUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
byteArray2Str(byte[] bytes)
Byte array2 str with the specified bytes parameter and return the String result. |
static byte[] |
convertIntListToBytes(java.util.List intList)
Convert int list to bytes with the specified int list parameter and return the byte[] result. |
static java.lang.String |
displayByteArray(byte[] bytes)
Display byte array with the specified bytes parameter and return the String result. |
static java.lang.Number |
extractAntennaId(java.util.Map antennaIdParam)
Extract antenna id with the specified antenna id param parameter and return the Integer result. |
static int |
extractROSpecStartTrigger(java.util.Map rOSpecParameter)
Extract rospec start trigger with the specified r ospec parameter parameter and return the int result. |
static int |
extractROSpecStopTrigger(java.util.Map rOSpecParameter)
Extract rospec stop trigger with the specified r ospec parameter parameter and return the int result. |
static java.lang.String |
extractTag(java.util.Map EPCParameterChoice)
Extract tag with the specified epcparameter choice parameter and return the String result. |
static java.lang.Number |
extractTagSeenCount(java.util.Map tagSeenCountParam)
Extract tag seen count with the specified tag seen count param parameter and return the Integer result. |
static int |
getAccessOpResultCode(java.util.Map resultMap)
Get access op result code with the specified result map parameter and return the int result. |
static java.lang.String |
handleErrorResponse(java.lang.String sourceTask,
java.util.Map paramMap)
Handle error response with the specified source task and param map parameters and return the String result. |
static java.lang.String |
hexStrIncrement(java.lang.String str,
int inc)
Hex str increment with the specified str and inc parameters and return the String result. |
static boolean |
isValidTagId(java.lang.String tagId)
Is valid tag id with the specified tag id parameter and return the boolean result. |
static void |
main(java.lang.String[] arguments)
Main with the specified arguments parameter. |
static byte[] |
str2byteArray(java.lang.String str)
Str2byte array with the specified str parameter and return the byte[] result. |
static java.util.List |
str2wordList(java.lang.String str)
Str2word list with the specified str parameter and return the List result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LLRPUtils()
| Method Detail |
|---|
public static java.lang.String byteArray2Str(byte[] bytes)
bytes - The bytes (byte[]) parameter.
String) value.public static byte[] convertIntListToBytes(java.util.List intList)
intList - The int list (List) parameter.
byte[]) value.public static java.lang.String displayByteArray(byte[] bytes)
bytes - The bytes (byte[]) parameter.
String) value.public static java.lang.Number extractAntennaId(java.util.Map antennaIdParam)
antennaIdParam - The antenna id param (Map) parameter.
Integer) value.public static int extractROSpecStartTrigger(java.util.Map rOSpecParameter)
rOSpecParameter - The r ospec parameter (Map) parameter.
int) value.public static int extractROSpecStopTrigger(java.util.Map rOSpecParameter)
rOSpecParameter - The r ospec parameter (Map) parameter.
int) value.public static java.lang.String extractTag(java.util.Map EPCParameterChoice)
EPCParameterChoice - The epcparameter choice (Map) parameter.
String) value.public static java.lang.Number extractTagSeenCount(java.util.Map tagSeenCountParam)
tagSeenCountParam - The tag seen count param (Map) parameter.
Integer) value.public static int getAccessOpResultCode(java.util.Map resultMap)
resultMap - The result map (Map) parameter.
int) value.
public static java.lang.String handleErrorResponse(java.lang.String sourceTask,
java.util.Map paramMap)
sourceTask - The source task (String) parameter.paramMap - The param map (Map) parameter.
String) value.
public static java.lang.String hexStrIncrement(java.lang.String str,
int inc)
str - The str (String) parameter.inc - The inc (int) parameter.
String) value.public static boolean isValidTagId(java.lang.String tagId)
tagId - The tag id (String) parameter.
boolean) value.public static void main(java.lang.String[] arguments)
arguments - The arguments (String[]) parameter.public static byte[] str2byteArray(java.lang.String str)
str - The str (String) parameter.
byte[]) value.displayByteArray(byte[])public static java.util.List str2wordList(java.lang.String str)
str - The str (String) parameter.
List) value.
|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||