sb.append(makeHyphen(maxFileLength));
sb.append("--------------------------------------------------");
sb.append("\n");
// �P�s���������s��
for(int i=0;i<results.length;i++){
CountResult result = results[i];
// ���Ή��̃J�E���g���ʂ��t�H�[�}�b�g
if(result.getFileType()==null){
sb.append(fillOrCut(result.getFileName(), maxFileLength));
sb.append("���Ή�");
sb.append("\n");
// ����ɃJ�E���g���ꂽ���ʂ��t�H�[�}�b�g
} else {
// String fileName = result.getFileName();
// String fileType = result.getFileType();
String step = String.valueOf(result.getStep());
String non = String.valueOf(result.getNon());
String comment = String.valueOf(result.getComment());
String sum = String.valueOf(result.getStep() + result.getNon() + result.getComment());
sb.append(fillOrCut(result.getFileName(), maxFileLength));
sb.append(fillOrCut(result.getFileType(), 6));
sb.append(fillOrCut(result.getCategory(),20));
sb.append(leftFillOrCut(step , 6));
sb.append(leftFillOrCut(non , 6));
sb.append(leftFillOrCut(comment , 6));
sb.append(leftFillOrCut(sum , 6));
sb.append("\n");
sumStep += result.getStep();
sumComment += result.getComment();
sumNone += result.getNon();
}
}
// ���v�s���t�H�[�}�b�g
sb.append(makeHyphen(maxFileLength));
sb.append("--------------------------------------------------");