All Superinterfaces:
Extension
All Known Subinterfaces:
RepositoryTargetingLoader, StreamTargetingLoader

public interface Loader extends Extension
Extension point for loaders. They are placed at the start of an import chain to fetch data from some external source.
Author:
Manuel Fiorelli
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    load(Target target, DataFormat acceptedFormat)
    Loads data into the provided target.
  • Method Details

    • load

      default void load(Target target, @Nullable DataFormat acceptedFormat) throws IOException
      Loads data into the provided target. The default implementation of this operation delegates the operation to concrete subclasses matching the given target.
      Parameters:
      source -
      acceptedFormat -
      Throws:
      IOException