public static enum Plugin.Engine.Source.Empty extends java.lang.Enum<Plugin.Engine.Source.Empty> implements Plugin.Engine.Source, Plugin.Engine.Source.Origin
Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory, Plugin.Engine.Source.OriginPlugin.Engine.Source.Origin.ForJarFile| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
NO_MANIFEST| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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. |
java.util.Iterator<Plugin.Engine.Source.Element> |
iterator() |
Plugin.Engine.Source.Origin |
read()
Initiates reading from a source.
|
static Plugin.Engine.Source.Empty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Plugin.Engine.Source.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Plugin.Engine.Source.Empty INSTANCE
public static Plugin.Engine.Source.Empty[] values()
for (Plugin.Engine.Source.Empty c : Plugin.Engine.Source.Empty.values()) System.out.println(c);
public static Plugin.Engine.Source.Empty valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Plugin.Engine.Source.Origin read()
read in interface Plugin.Engine.Sourcepublic ClassFileLocator getClassFileLocator()
getClassFileLocator in interface Plugin.Engine.Source.Originpublic java.util.jar.Manifest getManifest()
null if no manifest exists.getManifest in interface Plugin.Engine.Source.Originnull.public java.util.Iterator<Plugin.Engine.Source.Element> iterator()
iterator in interface java.lang.Iterable<Plugin.Engine.Source.Element>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable