public String getSubSummaryRow ( final File path ) throws IOException { Counts sum = subDirSum ( path ) ; return String . format ( "<tr bgcolor=\"%s\"><th style=\"text-align: left\">%s</th><td>%s</td></tr>" , color ( sum ) , FitUtils . htmlSafeFile ( dirHelper . abs2rel ( new File ( "" ) . getAbsolutePath ( ) , path . getAbsolutePath ( ) ) ) , sum . toString ( ) ) ; }
Generates a HTML summary row for a subdirectory .