Enum Plugin.Engine.Source.Empty

    • Constructor Detail

      • Empty

        private Empty()
    • Method Detail

      • values

        public static Plugin.Engine.Source.Empty[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Plugin.Engine.Source.Empty c : Plugin.Engine.Source.Empty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Plugin.Engine.Source.Empty valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getClassFileLocator

        public 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.
        Specified by:
        getClassFileLocator in interface Plugin.Engine.Source.Origin
        Returns:
        A class file locator for locating class files of this instance..
      • getManifest

        public java.util.jar.Manifest getManifest()
        Returns the manifest file of the source location or null if no manifest exists.
        Specified by:
        getManifest in interface Plugin.Engine.Source.Origin
        Returns:
        This source's manifest or null.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable