Interface Plugin.Engine.Source.Origin

All Superinterfaces:
AutoCloseable, Closeable, Iterable<Plugin.Engine.Source.Element>
All Known Implementing Classes:
Plugin.Engine.Source.Empty, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.InMemory, Plugin.Engine.Source.Origin.Filtering, Plugin.Engine.Source.Origin.ForJarFile
Enclosing interface:
Plugin.Engine.Source

public static interface Plugin.Engine.Source.Origin extends Iterable<Plugin.Engine.Source.Element>, Closeable
An origin for elements.
  • Field Details

    • NO_MANIFEST

      @AlwaysNull static final Manifest NO_MANIFEST
      Indicates that no manifest exists.
  • Method Details

    • getManifest

      @MaybeNull Manifest getManifest() throws IOException
      Returns the manifest file of the source location or null if no manifest exists.
      Returns:
      This source's manifest or null.
      Throws:
      IOException - If an I/O error occurs.
    • getClassFileLocator

      ClassFileLocator getClassFileLocator()
      Returns a class file locator for the represented source. If the class file locator needs to be closed, it is the responsibility of this origin to close the locator or its underlying resources.
      Returns:
      A class file locator for locating class files of this instance..