org.olat.fileresource.types
Class ScormCPFileResource

java.lang.Object
  extended by org.olat.fileresource.types.FileResource
      extended by org.olat.fileresource.types.ScormCPFileResource
All Implemented Interfaces:
OLATResourceable

public class ScormCPFileResource
extends FileResource

Initial Date: Apr 6, 2004

Author:
Mike Stock

Field Summary
static java.lang.String TYPE_NAME
          SCORM IMS CP file resource identifier.
 
Fields inherited from class org.olat.fileresource.types.FileResource
GENERIC_TYPE_NAME
 
Constructor Summary
ScormCPFileResource()
          Standard constructor.
 
Method Summary
static boolean validate(java.io.File unzippedDir)
          Check for title and at least one resource.
 
Methods inherited from class org.olat.fileresource.types.FileResource
getResourceableId, getResourceableTypeName, overrideResourceableId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NAME

public static final java.lang.String TYPE_NAME
SCORM IMS CP file resource identifier.

See Also:
Constant Field Values
Constructor Detail

ScormCPFileResource

public ScormCPFileResource()
Standard constructor.

Method Detail

validate

public static boolean validate(java.io.File unzippedDir)
                        throws AddingResourceException
Check for title and at least one resource.

Parameters:
unzippedDir -
Returns:
True if is of type.
Throws:
AddingResourceException