include the shitlist summary

This commit is contained in:
jrandom
2004-08-12 03:22:27 +00:00
committed by zzz
parent eeb1852d95
commit c5947c23bb
2 changed files with 13 additions and 0 deletions

View File

@ -32,4 +32,14 @@ public class ProfilesHelper {
}
return new String(baos.toByteArray());
}
public String getShitlistSummary() {
ByteArrayOutputStream baos = new ByteArrayOutputStream(4*1024);
try {
_context.shitlist().renderStatusHTML(baos);
} catch (IOException ioe) {
ioe.printStackTrace();
}
return new String(baos.toByteArray());
}
}