org.ow2.weblab.service.splitter.rss
Class WLRSSSplitter

java.lang.Object
  extended by org.ow2.weblab.service.splitter.rss.WLRSSSplitter
All Implemented Interfaces:
org.ow2.weblab.core.services.Analyser

public class WLRSSSplitter
extends java.lang.Object
implements org.ow2.weblab.core.services.Analyser


Field Summary
protected static org.apache.commons.logging.Log LOGGER
           
protected static java.util.Properties PROPS
           
protected static java.text.SimpleDateFormat SDF
           
static java.lang.String SERVICE_REF
           
 
Constructor Summary
WLRSSSplitter()
           
 
Method Summary
protected  org.ow2.weblab.core.model.Resource buildResourceFromSyndEntry(com.sun.syndication.feed.synd.SyndEntry syndEntry, java.lang.String source)
           
 java.lang.String checkResource(org.ow2.weblab.core.model.Resource resource)
           
 void init()
           
 org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPS

protected static java.util.Properties PROPS

LOGGER

protected static org.apache.commons.logging.Log LOGGER

SDF

protected static java.text.SimpleDateFormat SDF

SERVICE_REF

public static final java.lang.String SERVICE_REF
See Also:
Constant Field Values
Constructor Detail

WLRSSSplitter

public WLRSSSplitter()
Method Detail

init

@PostConstruct
public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

process

public org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
                                                            throws org.ow2.weblab.core.services.ContentNotAvailableException
Specified by:
process in interface org.ow2.weblab.core.services.Analyser
Throws:
org.ow2.weblab.core.services.ContentNotAvailableException

checkResource

public java.lang.String checkResource(org.ow2.weblab.core.model.Resource resource)
                               throws org.ow2.weblab.core.services.ContentNotAvailableException
Throws:
org.ow2.weblab.core.services.ContentNotAvailableException

buildResourceFromSyndEntry

protected org.ow2.weblab.core.model.Resource buildResourceFromSyndEntry(com.sun.syndication.feed.synd.SyndEntry syndEntry,
                                                                        java.lang.String source)


Copyright © 2004-2012. All Rights Reserved.