Lizzy v1.1.1

christophedelory.lizzy
Class FetchContentMetadata

java.lang.Object
  extended by christophedelory.playlist.BasePlaylistVisitor
      extended by christophedelory.lizzy.FetchContentMetadata
All Implemented Interfaces:
PlaylistVisitor

public class FetchContentMetadata
extends BasePlaylistVisitor

Fetches if possible the metadata of all media contents.

Version:
$Revision: 90 $
Author:
Christophe Delory

Constructor Summary
FetchContentMetadata()
           
 
Method Summary
 void beginVisitMedia(Media target)
          Starts the visit of the specified media.
 void setConnect(boolean connect)
          Specifies if we must connect to the media content URL in order to fetch additional metadata.
 
Methods inherited from class christophedelory.playlist.BasePlaylistVisitor
beginVisitParallel, beginVisitPlaylist, beginVisitSequence, endVisitMedia, endVisitParallel, endVisitPlaylist, endVisitSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchContentMetadata

public FetchContentMetadata()
Method Detail

setConnect

public void setConnect(boolean connect)
Specifies if we must connect to the media content URL in order to fetch additional metadata. Defaults to false.

Parameters:
connect - the corresponding boolean.

beginVisitMedia

public void beginVisitMedia(Media target)
                     throws Exception
Description copied from interface: PlaylistVisitor
Starts the visit of the specified media.

Specified by:
beginVisitMedia in interface PlaylistVisitor
Overrides:
beginVisitMedia in class BasePlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.endVisitMedia(christophedelory.playlist.Media)

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.