/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, String[] tags) throws ParserException, UnsupportedEncodingException { return trimTags (input, tags, true, true); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * <BR>Use NodeFilter class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, NodeFilter filter) throws ParserException, UnsupportedEncodingException { return trimTags (input, filter, true, true); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, String[] tags) throws ParserException, UnsupportedEncodingException { return trimTags (input, tags, true, true); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * <BR>Use NodeFilter class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, NodeFilter filter) throws ParserException, UnsupportedEncodingException { return trimTags (input, filter, true, true); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content (optional). * <BR>Use Class class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, Class nodeType, boolean recursive, boolean insideTag) throws ParserException, UnsupportedEncodingException { return trimTags (input, new NodeClassFilter (nodeType), recursive, insideTag); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content (optional). * <BR>Use Class class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, Class nodeType, boolean recursive, boolean insideTag) throws ParserException, UnsupportedEncodingException { return trimTags (input, new NodeClassFilter (nodeType), recursive, insideTag); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * <BR>Use Class class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, Class nodeType) throws ParserException, UnsupportedEncodingException { return trimTags (input, new NodeClassFilter (nodeType), true, true); }
/** * Trim all tags in the input string and * return a string like the input one * without the tags and their content. * <BR>Use Class class as input parameter * instead of tags[] string array. * @see ParserUtils#trimTags (String input, String[] tags, boolean recursive, boolean insideTag). */ public static String trimTags (String input, Class nodeType) throws ParserException, UnsupportedEncodingException { return trimTags (input, new NodeClassFilter (nodeType), true, true); }