Iterator it = data.keySet().iterator();
for (; it.hasNext();) {
for (; it.hasNext();) {
if( data.get(key) instanceof String) {
String key = (String) it.next();
String value = (String)data.get(key);
data.put(key, value.trim());
String key = (String) it.next();
String value = (String)data.get(key);
data.put(key, value.trim());
}
}
}