public class Rfc1738 extends TreeMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Rfc1738() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String _in)
Decode a string with rfc1738 spec.
|
static String |
encode(String _in)
encode a string in rfc1738 spec
|
static Map<String,String> |
explode(String _in)
Transforms a list encoded map of attributes back.
|
static String[] |
explodeArray(String in)
Transforms a encoded array of strings back.
|
int |
getInt(String _key) |
int |
getInt(String _key,
int _def) |
static String |
implode(Map<String,String> _in)
Encode a list of attributes in a single string
|
static String |
implodeArray(String[] in)
Transfor the elements of an array to a string using the rfc1738 sprec.
|
void |
put(String _key,
int _value) |
String |
toString() |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmptypublic void put(String _key, int _value)
public int getInt(String _key, int _def)
public int getInt(String _key)
public String toString()
toString in class AbstractMap<String,String>public static String decode(String _in)
_in - encoded stringpublic static String encode(String _in)
_in - decoded stringpublic static String implodeArray(String[] in)
in - public static String[] explodeArray(String in)
in - public static Map<String,String> explode(String _in)
_in - Copyright © 2014. All rights reserved.