ReadCsv + little rework for UI
parent
1c024fdbfc
commit
0a6ad90343
|
@ -42,7 +42,7 @@ public class Axel {
|
||||||
}
|
}
|
||||||
spr.put(cell,in);
|
spr.put(cell,in);
|
||||||
}
|
}
|
||||||
spr.saveCsv("/tmp/test.csv");
|
spr.saveCsv("tmp/test.csv");
|
||||||
kb.close();
|
kb.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -263,7 +263,7 @@ public class Spreadsheet {
|
||||||
|
|
||||||
while (m.find()) { // m.find() must always be used before m.group()
|
while (m.find()) { // m.find() must always be used before m.group()
|
||||||
String s = m.group();
|
String s = m.group();
|
||||||
if(!s.isEmpty()) {
|
if(!s.isEmpty()) {
|
||||||
if((int)s.charAt(0)>=(int)'A'&&(int)s.charAt(0)<=(int)'Z' && get(s).isEmpty())
|
if((int)s.charAt(0)>=(int)'A'&&(int)s.charAt(0)<=(int)'Z' && get(s).isEmpty())
|
||||||
continue;
|
continue;
|
||||||
if(first && (int)s.charAt(0)>=(int)'A'&&(int)s.charAt(0)<=(int)'Z') {
|
if(first && (int)s.charAt(0)>=(int)'A'&&(int)s.charAt(0)<=(int)'Z') {
|
||||||
|
|
Loading…
Reference in New Issue