private static int writeMatches(char separator,String readName,IReadBlock readBlock,Writer w) throws IOException {
  int countMatches=0;
  if (readBlock.getNumberOfAvailableMatchBlocks() == 0)   w.write(String.format("%s%c\n",readName,separator));
 else {
    w.write(readName);
    for (    IMatchBlock matchBlock : readBlock.getMatchBlocks()) {
      w.write(String.format("%c%d%c%.2f",separator,matchBlock.getTaxonId(),separator,matchBlock.getBitScore()));
      countMatches++;
    }
    w.write("\n");
  }
  return countMatches;
}

private static int writeMatches ( char separator , String readName , IReadBlock readBlock , Writer w ) throws IOException { int countMatches = 0 ; if ( readBlock . getNumberOfAvailableMatchBlocks ( ) == 0 ) w . write ( String . format ( "%s%c\n" , readName , separator ) ) ; else { w . write ( readName ) ; for ( IMatchBlock matchBlock : readBlock . getMatchBlocks ( ) ) { w . write ( String . format ( "%c%d%c%.2f" , separator , matchBlock . getTaxonId ( ) , separator , matchBlock . getBitScore ( ) ) ) ; countMatches ++ ; } w . write ( "\n" ) ; } return countMatches ; }
write readname and matches to taxa
