christophedelory.lizzy
Class FetchContentMetadata
java.lang.Object
christophedelory.playlist.BasePlaylistVisitor
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FetchContentMetadata
public FetchContentMetadata()
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)
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.