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

Method replace_csv

drg_group/suzhou_2023/GroupProxy.java:196–205  ·  view source on GitHub ↗
(String csv)

Source from the content-addressed store, hash-verified

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

Callers 1

read_csvMethod · 0.95

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected