public String getRow(final File file) {
		StringBuilder builder = new StringBuilder();

		Counts counts = get(file);

		builder.append("<tr bgcolor=\"");
		builder.append(color(counts));
		builder.append("\"><td>");

		int depth = dirHelper.dirDepth(file);
		indent(depth, builder);

		builder.append("<a href=\"");
		builder.append(FitUtils.htmlSafeFile(file));
		builder.append("\">");
		builder.append(file.getName());
		builder.append("</a>");
		builder.append("</td><td>");

		if (counts == null) {
			builder.append("(none)");
		} else {
			builder.append(counts.toString());
		}
		builder.append("</td></tr>");

		return builder.toString();
	}
public String getRow(final File file) {
		StringBuilder builder = new StringBuilder();

		Counts counts = get(file);

		builder.append("<tr bgcolor=\"");
		builder.append(color(counts));
		builder.append("\"><td>");

		int depth = dirHelper.dirDepth(file);
		indent(depth, builder);

		builder.append("<a href=\"");
		builder.append(FitUtils.htmlSafeFile(file));
		builder.append("\">");
		builder.append(file.getName());
		builder.append("</a>");
		builder.append("</td><td>");

		if (counts == null) {
			builder.append("(none)");
		} else {
			builder.append(counts.toString());
		}
		builder.append("</td></tr>");

		return builder.toString();
	}
public String getRow ( final File file ) { StringBuilder builder = new StringBuilder ( ) ; Counts counts = get ( file ) ; builder . append ( "<tr bgcolor=\"" ) ; builder . append ( color ( counts ) ) ; builder . append ( "\"><td>" ) ; int depth = dirHelper . dirDepth ( file ) ; indent ( depth , builder ) ; builder . append ( "<a href=\"" ) ; builder . append ( FitUtils . htmlSafeFile ( file ) ) ; builder . append ( "\">" ) ; builder . append ( file . getName ( ) ) ; builder . append ( "</a>" ) ; builder . append ( "</td><td>" ) ; if ( counts == null ) { builder . append ( "(none)" ) ; } else { builder . append ( counts . toString ( ) ) ; } builder . append ( "</td></tr>" ) ; return builder . toString ( ) ; }
Returns a single HTML Table row representing the results of the file
{@code file}.

@param file filename to look up
@return HTML String with a a single Table row
Returns a single HTML Table row representing the results of the file { @code file } .