| java.lang.Object org.jperdian.rss2.RssParseHelper
RssParseHelper | public class RssParseHelper (Code) | | Some static methods for easy access to parse additions
author: Christian Robert |
parseContentChildren | public static String parseContentChildren(Node node)(Code) | | Parse the content of the children from the specified node and return
it as String.
Parameters: node - the content which children should be parsed the parse result content |
parseContentDate | public static Date parseContentDate(Element node) throws RssParseException(Code) | | Parses the content of the given element and formats it as date, or
returns null if no content could be read
|
parseContentInt | public static int parseContentInt(Element node) throws RssParseException(Code) | | Parses the content of the given element and formats it as number, or
returns 0 if no content could be read
|
parseContentInt | public static int parseContentInt(Element node, int defaultValue) throws RssParseException(Code) | | Parses the content of the given element and formats it as number, or
returns the default value if no content could be read
|
parseURL | public static URL parseURL(String sourceString) throws RssParseException(Code) | | Parses the given source String into a URL . If
no value has been entered null will be returned
exception: RssParseException - thrown if the given URL is not valid |
|
|