Uses of Interface
dev.jcputney.elearning.parser.api.FileAccess
Packages that use FileAccess
Package
Description
-
Uses of FileAccess in dev.jcputney.elearning.parser.api
Methods in dev.jcputney.elearning.parser.api with parameters of type FileAccessModifier and TypeMethodDescriptionModuleTypeDetectorPlugin.detect(FileAccess fileAccess) Attempts to detect if the module is of the type handled by this plugin. -
Uses of FileAccess in dev.jcputney.elearning.parser.impl
Classes in dev.jcputney.elearning.parser.impl that implement FileAccessModifier and TypeClassDescriptionclassA decorator implementation ofFileAccessthat adds caching capability to anyFileAccessimplementation.classImplementation ofFileAccessthat reads files from the classpath, allowing testing of modules stored in the resources directory without needing actual filesystem access.classImplementation of FileAccess for local file access.classOptimized implementation of FileAccess using AWS S3 SDK v1 with batch operations, streaming support, and intelligent caching.classOptimized implementation of FileAccess using AWS S3 SDK v2 with batch operations, streaming support, and intelligent caching.classAn implementation of theFileAccessinterface for accessing files within a ZIP archive.Method parameters in dev.jcputney.elearning.parser.impl with type arguments of type FileAccessModifier and TypeMethodDescriptionvoidDefaultModuleParserFactory.registerParser(ModuleType moduleType, Function<FileAccess, ModuleParser<?>> parserFactory) Registers a parser factory function for the specified module type.Constructors in dev.jcputney.elearning.parser.impl with parameters of type FileAccessModifierConstructorDescriptionCachedFileAccess(FileAccess delegate) Constructs a newCachedFileAccessinstance that wraps the specifiedFileAccessimplementation.DefaultModuleFileProvider(FileAccess fileAccess) Constructs a DefaultModuleFileProvider with the specified FileAccess instance.DefaultModuleParserFactory(FileAccess fileAccess) Constructs a new DefaultModuleParserFactory with the specified FileAccess implementation and a default ModuleTypeDetector.DefaultModuleParserFactory(FileAccess fileAccess, ModuleTypeDetector moduleTypeDetector) Constructs a new DefaultModuleParserFactory with the specified FileAccess and ModuleTypeDetector implementations.DefaultModuleTypeDetector(FileAccess fileAccess) Constructs a new DefaultModuleTypeDetector with the specified FileAccess implementation. -
Uses of FileAccess in dev.jcputney.elearning.parser.parsers
Constructors in dev.jcputney.elearning.parser.parsers with parameters of type FileAccessModifierConstructorDescriptionAiccParser(FileAccess fileAccess) Default constructor for the AiccParser class.protectedBaseParser(FileAccess fileAccess) Constructs a BaseParser with the specified FileAccess instance.Cmi5Parser(FileAccess fileAccess) Constructs a Cmi5Parser with the specified FileAccess instance.Scorm12Parser(FileAccess fileAccess) Constructs a Scorm12Parser with the specified FileAccess instance.Scorm2004Parser(FileAccess fileAccess) Constructs a Scorm2004Parser with the specified FileAccess instance. -
Uses of FileAccess in dev.jcputney.elearning.parser.util
Classes in dev.jcputney.elearning.parser.util that implement FileAccessModifier and TypeClassDescriptionstatic classWraps a FileAccess to ensure streams are properly closed.Methods in dev.jcputney.elearning.parser.util with parameters of type FileAccessModifier and TypeMethodDescriptionstatic voidResourceUtils.closeIfCloseable(FileAccess fileAccess) Ensures a FileAccess instance is properly closed if it's AutoCloseable.static ModuleTypeScormVersionDetector.detectScormVersion(FileAccess fileAccess) Detects the version of a SCORM module based on its manifest file.static voidXmlParsingUtils.loadExternalMetadataIntoMetadata(LoadableMetadata subMetadata, FileAccess fileAccess) Loads an external LOM metadata file into the specified LoadableMetadata object.Method parameters in dev.jcputney.elearning.parser.util with type arguments of type FileAccessModifier and TypeMethodDescriptionstatic <M extends PackageManifest>
ModuleMetadata<M>ResourceUtils.parseZipModule(String zipPath, Function<FileAccess, ModuleParser<M>> parserFactory) Parses a module from a ZIP file path, ensuring the ZipFileAccess is properly closed.Constructors in dev.jcputney.elearning.parser.util with parameters of type FileAccessModifierConstructorDescriptionSafeFileAccess(FileAccess delegate) Constructs a SafeFileAccess that wraps the provided FileAccess instance. -
Uses of FileAccess in dev.jcputney.elearning.parser.util.detector
Methods in dev.jcputney.elearning.parser.util.detector with parameters of type FileAccessModifier and TypeMethodDescriptionAiccDetectorPlugin.detect(FileAccess fileAccess) Detects if the provided FileAccess instance contains AICC module files.Cmi5DetectorPlugin.detect(FileAccess fileAccess) Detects if the provided FileAccess instance contains a cmi5 module.ScormDetectorPlugin.detect(FileAccess fileAccess) Detects the SCORM module type by checking for the presence of the SCORM manifest file.