return null != result ? result : new ArrayList<DBObject>();
}
public List<DBObject> importFromString(final String text) throws Exception {
List<DBObject> result = null;
final CSVReader reader = new CSVReader();
reader.setReader(new StringReader(text));
try {
final List<Map<String, String>> data = reader.readAllAsMap(true);
result = this.doImport(data);
} catch (Throwable t) {
}
reader.close();
return null != result ? result : new ArrayList<DBObject>();
}