org.stanwood.media.info
Class MediaFileInfoFetcher

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

public class MediaFileInfoFetcher
extends java.lang.Object

Used to find information about a media file that is containted within the file.


Constructor Summary
MediaFileInfoFetcher(java.io.File nativeDir)
          The constructor
 
Method Summary
 IMediaFileInfo getInformation(java.io.File file)
          Used to get information on a media file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaFileInfoFetcher

public MediaFileInfoFetcher(java.io.File nativeDir)
                     throws StanwoodException
The constructor

Parameters:
nativeDir - The native application directory
Throws:
StanwoodException - Thrown if their is a problem finding the native apps
Method Detail

getInformation

public IMediaFileInfo getInformation(java.io.File file)
                              throws StanwoodException
Used to get information on a media file

Parameters:
file - The media file
Returns:
The information object. If this is a video file then it will be of type IVideoFileInfo.
Throws:
StanwoodException - Thrown if their are any problems