|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.rss.service.RssGeneratorService
public final class RssGeneratorService
This class provides utilities to create RSS documents.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_RSS_STORAGE_FOLDER_PATH
The path which points the rss files are stored |
static java.lang.String |
PROPERTY_STORAGE_DIRECTORY_NAME
|
| Method Summary | |
|---|---|
static void |
createFileRss(java.lang.String strRssFileName,
java.lang.String strRssDocument)
Creates the pushrss file in the directory |
static java.lang.String |
createRssDocument(int nIdPortlet,
java.lang.String strRssFileDescription)
Creates the push RSS document corresponding to the given portlet |
static java.lang.String |
createRssDocument(java.util.List list_rss,
java.lang.String strRssFileDescription)
Creates the push RSS document corresponding to the given portlet |
static void |
deleteFileRss(java.lang.String strRssFileName,
java.lang.String strPluginName)
Deletes the pushrss file in the directory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_RSS_STORAGE_FOLDER_PATH
public static final java.lang.String PROPERTY_STORAGE_DIRECTORY_NAME
| Method Detail |
|---|
public static java.lang.String createRssDocument(int nIdPortlet,
java.lang.String strRssFileDescription)
nIdPortlet - the portlet id for wich the file is createdstrRssFileDescription - the Description
public static java.lang.String createRssDocument(java.util.List list_rss,
java.lang.String strRssFileDescription)
nIdPortlet - the portlet id for wich the file is createdstrRssFileDescription - the Description
public static void createFileRss(java.lang.String strRssFileName,
java.lang.String strRssDocument)
strRssFileName - The file's name that must be deletedstrRssDocument - The content of the new RSS file
public static void deleteFileRss(java.lang.String strRssFileName,
java.lang.String strPluginName)
strRssFileName - The name of the RSS filestrPluginName - The plugin's name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||