org.stanwood.media.info
Class MediaInfoFactory

java.lang.Object
  extended by org.stanwood.media.info.MediaInfoFactory

public class MediaInfoFactory
extends java.lang.Object

Factory call used to get the correct IMediaFileInfo implemention for the file.


Constructor Summary
MediaInfoFactory()
           
 
Method Summary
static IMediaFileInfo createMediaInfo(java.io.File mediaFile, org.w3c.dom.Document document)
          Used to get the media information object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaInfoFactory

public MediaInfoFactory()
Method Detail

createMediaInfo

public static IMediaFileInfo createMediaInfo(java.io.File mediaFile,
                                             org.w3c.dom.Document document)
                                      throws StanwoodException
Used to get the media information object

Parameters:
mediaFile - The media file
document - The XML information about the file
Returns:
The file information
Throws:
StanwoodException - Thrown if their are any problems