for(int k = 2; k < parts.size(); k++){
e.addCfgOption(parts.get(k).replace(")", ""));
}
}
else if(line.startsWith("\t\t\t(conn ")){
Connection c = new Connection();
c.setElement0(parts.get(2));
c.setPin0(parts.get(3));
c.setForwardConnection(parts.get(4).equals("==>"));
c.setElement1(parts.get(5));
c.setPin1(parts.get(6).substring(0, parts.get(6).length() - 1));
e.addConnection(c);
}
}
elements.add(e);
}