org.olat.fileresource.types
Class GlossaryResource

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

public class GlossaryResource
extends FileResource

Description:
Resource description for a glossary learning resource

Initial Date: Dec 04 2006

Author:
Florian Gnägi, frentix GmbH, http://www.frentix.com

Field Summary
static java.lang.String GLOSSARY_DEFAULT_FILEREF
           
static java.io.FilenameFilter GLOSSARY_FILENAME_FILTER
           
static java.lang.String TYPE_NAME
           
 
Fields inherited from class org.olat.fileresource.types.FileResource
GENERIC_TYPE_NAME
 
Constructor Summary
GlossaryResource()
          Constructor
 
Method Summary
static boolean validate(java.io.File dir)
           
 
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
See Also:
Constant Field Values

GLOSSARY_DEFAULT_FILEREF

public static final java.lang.String GLOSSARY_DEFAULT_FILEREF
See Also:
Constant Field Values

GLOSSARY_FILENAME_FILTER

public static final java.io.FilenameFilter GLOSSARY_FILENAME_FILTER
Constructor Detail

GlossaryResource

public GlossaryResource()
Constructor

Method Detail

validate

public static boolean validate(java.io.File dir)
Parameters:
dir - containing the glossary. the dir must already be unzipped
Returns:
true if of type GlossaryResource, false otherwhise