Interface Plugin.Engine.Source.Origin

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.jar.Manifest NO_MANIFEST
      Indicates that no manifest exists.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ClassFileLocator getClassFileLocator()
      Returns a class file locator for the represented source.
      java.util.jar.Manifest getManifest()
      Returns the manifest file of the source location or null if no manifest exists.
      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Field Detail

      • NO_MANIFEST

        static final java.util.jar.Manifest NO_MANIFEST
        Indicates that no manifest exists.
    • Method Detail

      • getManifest

        java.util.jar.Manifest getManifest()
                                    throws java.io.IOException
        Returns the manifest file of the source location or null if no manifest exists.
        Returns:
        This source's manifest or null.
        Throws:
        java.io.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..