public class FeedFileFactory
extends java.lang.Object
Constructor and Description |
---|
FeedFileFactory() |
Modifier and Type | Method and Description |
---|---|
static IFeedFile |
createFile(java.io.File file,
MediaDirConfig dirConfig,
IVideo media,
java.lang.String baseUrl)
Create a feed file
|
static IFeedFile |
createFile(java.io.File file,
MediaDirConfig dirConfig,
java.lang.String title,
java.lang.String description,
java.lang.String baseUrl)
Create a feed file
|
public static IFeedFile createFile(java.io.File file, MediaDirConfig dirConfig, IVideo media, java.lang.String baseUrl) throws ActionException
file
- The location of the filedirConfig
- The media directory configuration where the file livesmedia
- The media file informationbaseUrl
- The base URL of the feedActionException Thrown
- if their is a problem creating the feed or a file type is not supportedActionException
public static IFeedFile createFile(java.io.File file, MediaDirConfig dirConfig, java.lang.String title, java.lang.String description, java.lang.String baseUrl) throws ActionException
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 feedActionException Thrown
- if their is a problem creating the feed or a file type is not supportedActionException