Files
i2p.i2p/apps/routerconsole/java/src/net/i2p/router/web/ProfilesHelper.java

31 lines
849 B
Java
Raw Normal View History

package net.i2p.router.web;
import java.io.IOException;
public class ProfilesHelper extends HelperBase {
public ProfilesHelper() {}
/** @return empty string, writes directly to _out */
public String getProfileSummary() {
try {
ProfileOrganizerRenderer rend = new ProfileOrganizerRenderer(_context.profileOrganizer(), _context);
rend.renderStatusHTML(_out);
} catch (IOException ioe) {
ioe.printStackTrace();
}
return "";
}
2004-08-12 03:22:27 +00:00
/** @return empty string, writes directly to _out */
2004-08-12 03:22:27 +00:00
public String getShitlistSummary() {
try {
ShitlistRenderer rend = new ShitlistRenderer(_context);
rend.renderStatusHTML(_out);
2004-08-12 03:22:27 +00:00
} catch (IOException ioe) {
ioe.printStackTrace();
}
return "";
2004-08-12 03:22:27 +00:00
}
}