|
|
@ -79,11 +79,11 @@ public class PowersParser { |
|
|
|
|
|
|
|
|
|
|
|
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", "")); |
|
|
|
conditionString = new StringBuilder(conditionString.toString().replaceAll("(?m)^.*#.*\r?\n?", "")); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Parse header line in power data
|
|
|
|
|
|
|
|
|
|
|
|
String[] lineData = powerString.toString().trim().split("\n"); |
|
|
|
String[] lineData = powerString.toString().trim().split("\n"); |
|
|
|
ArrayList<String> powerHeader = new ArrayList<>(); |
|
|
|
ArrayList<String> powerHeader = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
// Parse header
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String headerString = lineData[0]; |
|
|
|
String headerString = lineData[0]; |
|
|
|
headerString = headerString.replace("\n", " "); |
|
|
|
headerString = headerString.replace("\n", " "); |
|
|
|
|
|
|
|
|
|
|
|