hu.midori.kosmos.server.sf
Class SfServiceImpl

java.lang.Object
  extended by hu.midori.kosmos.server.AbstractKosmosService
      extended by hu.midori.kosmos.server.sf.SfServiceImpl
All Implemented Interfaces:
SfService, TimestampedService, org.springframework.context.ApplicationContextAware

public class SfServiceImpl
extends AbstractKosmosService
implements SfService

Implementation of the SourceForge service.

Uses simple page-scaping techniques to retrieve information directly from the SourceForge webpages.

Version:
$Id$
Author:
Aron Gombas

Field Summary
 
Fields inherited from class hu.midori.kosmos.server.AbstractKosmosService
applicationContext, MAX_LIST_SIZE
 
Constructor Summary
SfServiceImpl()
           
 
Method Summary
 java.util.List<SfRelease> getFileReleases(java.lang.String url)
          Returns the file-releases related to a SF project.
 
Methods inherited from class hu.midori.kosmos.server.AbstractKosmosService
beginStoreSession, endStoreSession, getResourceString, getTimestamp, setApplicationContext, setStore, storeChart, storeFile, trimList, updateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hu.midori.kosmos.protocol.TimestampedService
getTimestamp
 

Constructor Detail

SfServiceImpl

public SfServiceImpl()
Method Detail

getFileReleases

public java.util.List<SfRelease> getFileReleases(java.lang.String url)
Description copied from interface: SfService
Returns the file-releases related to a SF project.

Specified by:
getFileReleases in interface SfService
Parameters:
url - points to a SF project page (eg. http://www.sourceforge.net/projects/struts).