@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);
 }
예제 #2
0
 private void prepareGraphics(Graphics2D g) {
   RendererUtil.useAntialiasing(g);
 }