String[][] test2Array = master.getKingSoldArray();
StringTokenizer st2 = new StringTokenizer(test2, TESTKEY_MIDDLE_SEP);
while(st2.hasMoreTokens()){
String test = st2.nextToken();
Question q = new Question();
StringTokenizer st3 = new StringTokenizer(test, TESTKEY_INNER_SEP);
q.setId(Integer.parseInt(st3.nextToken()));
q.setOrder(Integer.parseInt(st3.nextToken()));
q.setStatement(test2Array[q.getId()][0]);
q.setForward(REQ_KEY_QUESTION_FWD_SUFFIX.equals(st3.nextToken()));
List<String> answers = new LinkedList<String>();
if(q.isForward()){
answers.add(test2Array[q.getId()][1]);
answers.add(LABEL_ANSWER_2);
answers.add(LABEL_ANSWER_3);
answers.add(LABEL_ANSWER_4);
answers.add(test2Array[q.getId()][2]);
}else{
answers.add(test2Array[q.getId()][2]);
answers.add(LABEL_ANSWER_2);
answers.add(LABEL_ANSWER_3);
answers.add(LABEL_ANSWER_4);
answers.add(test2Array[q.getId()][1]);
}
q.setAnswers(answers);
qList.add(q);
}
return qList;
}