com.aelitis.azureus.core.subs.impl
Class SubscriptionRSSFeed

java.lang.Object
  extended by com.aelitis.azureus.core.subs.impl.SubscriptionRSSFeed
All Implemented Interfaces:
RSSGeneratorPlugin.Provider, TrackerWebPageGenerator

public class SubscriptionRSSFeed
extends java.lang.Object
implements RSSGeneratorPlugin.Provider


Constructor Summary
protected SubscriptionRSSFeed(SubscriptionManagerImpl _manager, PluginInterface _plugin_interface)
           
 
Method Summary
protected  java.lang.String escape(java.lang.String str)
           
protected  java.lang.String escapeMultiline(java.lang.String str)
           
 boolean generate(TrackerWebPageRequest request, TrackerWebPageResponse response)
           
 java.lang.String getFeedURL()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionRSSFeed

protected SubscriptionRSSFeed(SubscriptionManagerImpl _manager,
                              PluginInterface _plugin_interface)
Method Detail

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface RSSGeneratorPlugin.Provider

getFeedURL

public java.lang.String getFeedURL()

generate

public boolean generate(TrackerWebPageRequest request,
                        TrackerWebPageResponse response)
                 throws java.io.IOException
Specified by:
generate in interface TrackerWebPageGenerator
Returns:
true if the request was handled
Throws:
java.io.IOException

escape

protected java.lang.String escape(java.lang.String str)

escapeMultiline

protected java.lang.String escapeMultiline(java.lang.String str)