org.stanwood.media.actions.podcast
Class FeedFileFactory

java.lang.Object
  extended by org.stanwood.media.actions.podcast.FeedFileFactory

public class FeedFileFactory
extends java.lang.Object

Used to create feed files


Constructor Summary
FeedFileFactory()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedFileFactory

public FeedFileFactory()
Method Detail

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 file
dirConfig - The media directory configuration where the file lives
media - The media file information
baseUrl - 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 file
dirConfig - The media directory configuration where the file lives
title - The title of the file
description - The description of the file
baseUrl - 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