MCPcopy Create free account
hub / github.com/OpenDRG/DRG_Java / replace_csv

Method replace_csv

drg_group/chongqing_2022/GroupProxy.java:198–207  ·  view source on GitHub ↗
(String csv)

Source from the content-addressed store, hash-verified

196 return null;
197 }
198 private static String replace_csv(String csv){
199 Matcher m=Pattern.compile("\"(.*?)\"").matcher(csv);
200 String s;
201 while(m.find())
202 {
203 s=m.group();
204 csv=csv.replace(s, s.replace(",", "|"));
205 }
206 return csv.replace("\"", "");
207 }
208 public static Map<String,String> read_dataFile(String folder,String dataFile){
209 return read_dataFile(folder,dataFile,false);
210 }

Callers 2

group_recordMethod · 0.95
read_csvMethod · 0.95

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected