Class DefaultModuleFileProvider

java.lang.Object
dev.jcputney.elearning.parser.impl.DefaultModuleFileProvider
All Implemented Interfaces:
ModuleFileProvider

public class DefaultModuleFileProvider extends Object implements ModuleFileProvider
Default implementation of the ModuleFileProvider interface.

This class delegates file access operations to an underlying FileAccess instance, providing a consistent interface for parsers to use without directly depending on the FileAccess interface.

  • Field Details

    • XAPI_JS_FILE

      public static final String XAPI_JS_FILE
      The name of the xAPI JavaScript file.
      See Also:
    • XAPI_SEND_STATEMENT_FILE

      public static final String XAPI_SEND_STATEMENT_FILE
      The name of the xAPI send statement file.
      See Also:
  • Constructor Details

    • DefaultModuleFileProvider

      public DefaultModuleFileProvider(FileAccess fileAccess)
      Constructs a DefaultModuleFileProvider with the specified FileAccess instance.
      Parameters:
      fileAccess - An instance of FileAccess for reading files in the module package.
      Throws:
      IllegalArgumentException - if fileAccess is null
  • Method Details