| java.lang.Object web.rss.RssHunter
All known Subclasses: web.rss._RSSHunter, web.rss._RDFHunter, web.rss._AtomHunter, web.rss._HtmlHunter,
RssHunter | abstract public class RssHunter (Code) | | ������վժҪ��Ϣ��ȡ����
ʹ�÷�����
Channel channel = RssHunter.parse("http://www.javayou.com/blog/rss1.jsp");
author: Winter Lau |
RssHunter | protected RssHunter()(Code) | | |
getCachePath | protected static String getCachePath()(Code) | | ��ȡ��Ż����ļ����ڵ�Ŀ¼,Ĭ��Ϊ��ʱĿ¼�µ�dlog4j_cache��Ŀ¼
|
getContent | protected static String[] getContent(String url) throws Exception(Code) | | �ӵ�ַURL��ץȡժҪ��Ϣ�Լ����ݸ�ʽ
Parameters: url - ����Ԫ�ص��ַ������ݣ���һ��Ԫ��ΪժҪ���ݣ��ڶ���Ԫ��Ϊ���ݸ�ʽ������rss throws: Exception - |
getDigester | protected Digester getDigester()(Code) | | ��ȡXML������
Parameters: channel - |
getDigester | protected Digester getDigester(Channel channel)(Code) | | ��ȡXML������
Parameters: channel - |
getHunter | protected static RssHunter getHunter(String protocol)(Code) | | ��ȡָ��Э���Ӧ��ժҪ��Ϣ������
Parameters: protocol - |
needReload | protected static boolean needReload(long lastReload)(Code) | | Ĭ�ϵ����¼��ز��ԣ���һ�μ��ض�ʮ���Ӻ��������¼���
����ɸ��Ǹ÷������в��Ե����¶���
Parameters: lastReload - |
|
|