@Test public void test01() throws Exception { String res = RendererUtil.removeTag( "<p><a href=\"http://www.google.com\">http://www.google.com</a></p>", "p"); assertNotNull(res); assertEquals("<a href=\"http://www.google.com\">http://www.google.com</a>", res); }
private void prepareGraphics(Graphics2D g) { RendererUtil.useAntialiasing(g); }