| | |
| | | private char[] chars = null; |
| | | |
| | | /** |
| | | * Current position in the string. |
| | | * Current position in the String. |
| | | */ |
| | | private int pos = 0; |
| | | |
| | | /** |
| | | * Maximum position in the string. |
| | | * Maximum position in the String. |
| | | */ |
| | | private int len = 0; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * Extracts a map of name/value pairs from the given string. Names are |
| | | * Extracts a map of name/value pairs from the given String. Names are |
| | | * expected to be unique. Multiple separators may be specified and |
| | | * the earliest found in the input string is used. |
| | | * the earliest found in the input String is used. |
| | | * |
| | | * @param str the string that contains a sequence of name/value pairs |
| | | * @param str the String that contains a sequence of name/value pairs |
| | | * @param separators the name/value pairs separators |
| | | * |
| | | * @return a map of name/value pairs |
| | |
| | | } |
| | | |
| | | /** |
| | | * Extracts a map of name/value pairs from the given string. Names are |
| | | * Extracts a map of name/value pairs from the given String. Names are |
| | | * expected to be unique. |
| | | * |
| | | * @param str the string that contains a sequence of name/value pairs |
| | | * @param str the String that contains a sequence of name/value pairs |
| | | * @param separator the name/value pairs separator |
| | | * |
| | | * @return a map of name/value pairs |