2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper
Class LLRPConfigParser

java.lang.Object
  extended by org.eclipse.soda.dk.epcglobal.llrp.helper.LLRPConfigParser

public class LLRPConfigParser
extends java.lang.Object

Since:
1.0
Version:
1.2.0

Constructor Summary
LLRPConfigParser()
           
 
Method Summary
static java.lang.String getString(java.lang.String str, int fromIndex, char startChar, char endChar)
          Get string with the specified str, from index, start char and end char parameters and return the String result.
static byte[] parseByteArray(java.lang.String arrayContent)
          Parse byte array with the specified array content parameter and return the byte[] result.
static java.lang.Object parseConfig(java.lang.String str)
          Parse config with the specified str parameter and return the Object result.
static int[] parseIntArray(java.lang.String arrayContent)
          Parse int array with the specified array content parameter and return the int[] result.
static java.util.List parseList(java.lang.String listContent)
          Parse list with the specified list content parameter and return the List result.
static java.util.Map parseMap(java.lang.String mapContent)
          Parse map with the specified map content parameter and return the Map result.
static java.lang.String[] parseStringArray(java.lang.String arrayContent)
          Parse string array with the specified array content parameter and return the String[] result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLRPConfigParser

public LLRPConfigParser()
Method Detail

getString

public static java.lang.String getString(java.lang.String str,
                                         int fromIndex,
                                         char startChar,
                                         char endChar)
Get string with the specified str, from index, start char and end char parameters and return the String result.

Parameters:
str - The str (String) parameter.
fromIndex - The from index (int) parameter.
startChar - The start char (char) parameter.
endChar - The end char (char) parameter.
Returns:
Results of the get string (String) value.

parseByteArray

public static byte[] parseByteArray(java.lang.String arrayContent)
Parse byte array with the specified array content parameter and return the byte[] result.

Parameters:
arrayContent - The array content (String) parameter.
Returns:
Results of the parse byte array (byte[]) value.

parseConfig

public static java.lang.Object parseConfig(java.lang.String str)
Parse config with the specified str parameter and return the Object result.

Parameters:
str - The str (String) parameter.
Returns:
Results of the parse config (Object) value.

parseIntArray

public static int[] parseIntArray(java.lang.String arrayContent)
Parse int array with the specified array content parameter and return the int[] result.

Parameters:
arrayContent - The array content (String) parameter.
Returns:
Results of the parse int array (int[]) value.

parseList

public static java.util.List parseList(java.lang.String listContent)
Parse list with the specified list content parameter and return the List result.

Parameters:
listContent - The list content (String) parameter.
Returns:
Results of the parse list (List) value.

parseMap

public static java.util.Map parseMap(java.lang.String mapContent)
Parse map with the specified map content parameter and return the Map result.

Parameters:
mapContent - The map content (String) parameter.
Returns:
Results of the parse map (Map) value.

parseStringArray

public static java.lang.String[] parseStringArray(java.lang.String arrayContent)
Parse string array with the specified array content parameter and return the String[] result.

Parameters:
arrayContent - The array content (String) parameter.
Returns:
Results of the parse string array (String[]) value.

2009-10-01 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.