Interface ResourceHandler<T>

All Superinterfaces:
Iterable<T>
All Known Subinterfaces:
DictionaryProvider, QueryScriptHandler, SyllabifierProvider
All Known Implementing Classes:
BasicSyllabifierClassLoaderProvider, BasicSyllabifierFolderHandler, ClassLoaderHandler, DefaultDictionaryProvider, FileHandler, FolderHandler, OpGraphSyllabifierClassLoaderProvider, StockAnalysisHandler, StockMacroHandler, StockReportHandler, SystemQueryScriptHandler, TransliterationDictionaryProvider, URLHandler, UserAnalysisHandler, UserFolderScriptHandler, UserMacroHandler, UserReportHandler, UserSyllabifierProvider

public interface ResourceHandler<T> extends Iterable<T>
Responsible for finding resources for a resource loader. Implementing classes must defind an iterator for loading objects of the parameterized type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return an iterator for instances of type T.

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Method Details

    • iterator

      Iterator<T> iterator()
      Return an iterator for instances of type T.
      Specified by:
      iterator in interface Iterable<T>
      Returns:
      an iterator providing instances of the parameterized type