private String linePrinter(List<TextRead> textReads,boolean bs,boolean noFormat,boolean withReadName) throws IOException {
  StringBuilder sb=new StringBuilder();
  int curPos=0;
  for (  TextRead tr : textReads) {
    sb.append(StringUtils.repeat(" ",(tr.getTextStart() - 1) - curPos));
    String printableRead=tr.getPrintableTextRead(bs,noFormat,withReadName);
    sb.append(printableRead);
    curPos=tr.getTextEnd();
  }
  return sb.toString();
}

private String linePrinter ( List < TextRead > textReads , boolean bs , boolean noFormat , boolean withReadName ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; int curPos = 0 ; for ( TextRead tr : textReads ) { sb . append ( StringUtils . repeat ( " " , ( tr . getTextStart ( ) - 1 ) - curPos ) ) ; String printableRead = tr . getPrintableTextRead ( bs , noFormat , withReadName ) ; sb . append ( printableRead ) ; curPos = tr . getTextEnd ( ) ; } return sb . toString ( ) ; }
prepare a printable string of each output line .
