org.stanwood.media.actions.podcast
Class FeedFileFactory
java.lang.Object
org.stanwood.media.actions.podcast.FeedFileFactory
public class FeedFileFactory
- extends java.lang.Object
Used to create feed files
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeedFileFactory
public FeedFileFactory()
createFile
public static IFeedFile createFile(java.io.File file,
MediaDirConfig dirConfig,
IVideo media,
java.lang.String baseUrl)
throws ActionException
- Create a feed file
- Parameters:
file
- The location of the filedirConfig
- The media directory configuration where the file livesmedia
- The media file informationbaseUrl
- The base URL of the feed
- Returns:
- The feed file
- Throws:
ActionException Thrown
- if their is a problem creating the feed or a file type is not supported
ActionException
createFile
public static IFeedFile createFile(java.io.File file,
MediaDirConfig dirConfig,
java.lang.String title,
java.lang.String description,
java.lang.String baseUrl)
throws ActionException
- Create a feed file
- Parameters:
file
- The location of the filedirConfig
- The media directory configuration where the file livestitle
- The title of the filedescription
- The description of the filebaseUrl
- The base URL of the feed
- Returns:
- The feed file
- Throws:
ActionException Thrown
- if their is a problem creating the feed or a file type is not supported
ActionException