public static BaseAction parse(String content){
  String[] lines=content.split("\n");
  for (int i=0; i < lines.length; i++) {
    parseLine(lines[i]);
  }
  BaseAction mainAction=parseAction("main",sMap.get("main"));
  return mainAction;
}

public static BaseAction parse ( String content ) { String [ ] lines = content . split ( "\n" ) ; for ( int i = 0 ; i < lines . length ; i ++ ) { parseLine ( lines [ i ] ) ; } BaseAction mainAction = parseAction ( "main" , sMap . get ( "main" ) ) ; return mainAction ; }
parse action from config
