org.olat.fileresource.types
Class PodcastFileResource
java.lang.Object
org.olat.fileresource.types.FileResource
org.olat.fileresource.types.FeedFileResource
org.olat.fileresource.types.PodcastFileResource
- All Implemented Interfaces:
- OLATResourceable
public class PodcastFileResource
- extends FeedFileResource
A podcast learning resource
Initial Date: Feb 25, 2009
- Author:
- Gregor Wassmann
|
Field Summary |
static java.lang.String |
TYPE_NAME
|
|
Method Summary |
static boolean |
validate(java.io.File directory)
Validates the uploaded resource directory |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NAME
public static final java.lang.String TYPE_NAME
- See Also:
- Constant Field Values
PodcastFileResource
public PodcastFileResource()
- Default Constructor
PodcastFileResource
public PodcastFileResource(java.io.File root,
java.io.File resourceFolder)
- Constructor used for import (FileResourceManager)
- Parameters:
root - The root folder of the resourceresource - The uploaded folder containing the resource
validate
public static boolean validate(java.io.File directory)
- Validates the uploaded resource directory
- Parameters:
directory -
- Returns:
- True if it is falid