View Javadoc

1   /***
2    Copyright (C) 2005 The Java Community
3   
4    This program is free software; you can redistribute it and/or modify  it under
5    the terms of the GNU General Public License as published by  the Free Software
6    Foundation; either version 2 of the License, or  (at your option) any later
7    version.
8   
9    This program is distributed in the hope that it will be useful,  but WITHOUT
10   ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS
11   FOR A PARTICULAR PURPOSE. See the  GNU General Public License for more details.
12  
13   You should have received a copy of the GNU General Public License  along with
14   this program; if not, write to the Free Software  Foundation, Inc., 59 Temple
15   Place, Suite 330, Boston, MA 02111-1307 USA.
16  
17   */
18  package org.bejug.javacareers.feeder.parser;
19  
20  import org.bejug.javacareers.feeder.FeederException;
21  import org.bejug.javacareers.feeder.model.JobList;
22  import org.bejug.javacareers.feeder.model.RssFeed;
23  
24  /***
25   * Interface that parsers should implement.
26   *
27   * @author Stephan (last modified by $Author: ge0ffrey $)
28   * @version $Revision: 1.1 $ - $Date: 2005/08/26 07:58:29 $
29   */
30  public interface FeedParser {
31  
32      /***
33       * Parse the feed and return the job list.
34       * @throws FeederException if an error
35       * @param feed RssFeed to parse
36       * @return list of JobEntries from this feed
37       */
38      JobList parseFeed(RssFeed feed) throws FeederException;
39  }
40  
41  /***
42   * $Log: FeedParser.java,v $
43   * Revision 1.1  2005/08/26 07:58:29  ge0ffrey
44   * split up the sources in service, serviceimpl and webclient
45   *
46   * Revision 1.3  2005/06/14 12:05:52  schauwvliege
47   * CheckStyle and fixing tests
48   *
49   * Revision 1.2  2005/06/09 08:18:43  bejug_cc
50   * Fix initial import
51   *
52   * Revision 1.3  2005/06/03 09:44:09  bbr
53   * admin feed panel work
54   *
55   * Revision 1.2  2005/05/24 11:52:39  bbr
56   * Using spring sheduling
57   *
58   * Revision 1.1  2005/05/23 17:04:57  sja
59   * Moved to org.bejug.javacareers.feeder package.
60   *
61   * Revision 1.1  2005/05/23 08:46:33  PSONG09
62   * added feeder source files to project
63   *
64   * Revision 1.7  2005/05/23 07:13:59  stephan_janssen
65   * Added javadoc.
66   *
67   * Revision 1.6  2005/05/23 07:10:54  stephan_janssen
68   * Code cleanup.
69   *
70   * Revision 1.5  2005/05/11 11:53:25  bavo_jcs
71   * refactored
72   * - conform to conventions
73   * - some javadoc
74   * - Added FeederTask design
75   *
76   * Revision 1.4  2005/05/10 16:03:58  bavo_jcs
77   * cleanup
78   *
79   * Revision 1.3  2005/05/10 11:32:49  bavo_jcs
80   * integrated with services from JavaCareers Web
81   *
82   * Revision 1.2  2005/05/02 15:37:37  bavo_jcs
83   * Added Javadocs
84   *
85   * Revision 1.1.1.1  2005/04/26 14:13:50  stephan_janssen
86   * Initial import
87   *
88   * Revision 1.1.1.1  2005/04/26 12:58:32  sja
89   * Initial Release
90   *
91   * Revision 1.1.1.1  2005/04/26 12:51:27  sja
92   * Initial Release
93   *
94   */