1 package net.sourceforge.phpeclipse.wiki.renderer;
3 public class StringUtil {
10 public static boolean checkNoContent(String body) {
12 boolean noContent = true;
16 ch = body.charAt(j++);
17 if (!Character.isWhitespace(ch)) {
18 if (ch == '<' && body.charAt(j) == '!' && body.charAt(j + 1) == '-' && body.charAt(j + 2) == '-') {
22 ch = body.charAt(j++);
23 if (ch == '-' && body.charAt(j) == '-' && body.charAt(j + 1) == '>') {
28 } else if (ch == '<' && body.charAt(j) == 'b' && body.charAt(j + 1) == 'r' && body.charAt(j + 2) == '>') {
36 } catch (IndexOutOfBoundsException e) {