Class CompositionLoader
java.lang.Object
org.episteme.core.io.AbstractResourceReader<Composition>
org.episteme.social.arts.loaders.CompositionLoader
- All Implemented Interfaces:
ResourceIO<Composition>, ResourceReader<Composition>
- Direct Known Subclasses:
MidiLoader, MusicXMLReader
Base loader for musical compositions using the ResourceReader interface.
Modernized to extend AbstractResourceReader for caching and fallback support.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the category for grouping.Returns a long description of this resource handler.Returns the type of resource.Methods inherited from class AbstractResourceReader
clearCache, getMiniCatalog, getSampleDataPath, isUsingFallback, load, loadAll, loadAllFromSource, loadFromFallback, loadFromInputStream, loadFromSource, setCacheEnabledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ResourceIO
getDescription, getExpectedResourceFiles, getName, getResourcePath, getSupportedExtensions, getSupportedVersions, isFileBased, isOutputMethods inherited from interface ResourceReader
isInput
-
Constructor Details
-
CompositionLoader
public CompositionLoader()
-
-
Method Details
-
getResourceType
Description copied from interface:ResourceIOReturns the type of resource. -
getCategory
Description copied from interface:ResourceIOReturns the category for grouping. MUST be implemented with I18N support.- Returns:
- the category name
-
getLongDescription
Description copied from interface:ResourceIOReturns a long description of this resource handler. MUST be implemented with I18N support.- Returns:
- the long description
-