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

public abstract class CompositionLoader extends AbstractResourceReader<Composition>
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 Details

    • CompositionLoader

      public CompositionLoader()
  • Method Details

    • getResourceType

      public Class<Composition> getResourceType()
      Description copied from interface: ResourceIO
      Returns the type of resource.
    • getCategory

      public String getCategory()
      Description copied from interface: ResourceIO
      Returns the category for grouping. MUST be implemented with I18N support.
      Returns:
      the category name
    • getLongDescription

      public String getLongDescription()
      Description copied from interface: ResourceIO
      Returns a long description of this resource handler. MUST be implemented with I18N support.
      Returns:
      the long description