public static enum Plugin.Engine.Source.Empty extends Enum<Plugin.Engine.Source.Empty> implements Plugin.Engine.Source, Plugin.Engine.Source.Origin
Plugin.Engine.Source.Compound, Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.Filtering, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory, Plugin.Engine.Source.Origin
Plugin.Engine.Source.Origin.Filtering, Plugin.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.
|
Manifest |
getManifest()
Returns the manifest file of the source location or
null if no manifest exists. |
Iterator<Plugin.Engine.Source.Element> |
iterator() |
Plugin.Engine.Source.Origin |
read()
Initiates reading from a source.
|
static Plugin.Engine.Source.Empty |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
forEach, spliterator
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Plugin.Engine.Source.Origin read()
read
in interface Plugin.Engine.Source
public ClassFileLocator getClassFileLocator()
getClassFileLocator
in interface Plugin.Engine.Source.Origin
@MaybeNull public Manifest getManifest()
null
if no manifest exists.getManifest
in interface Plugin.Engine.Source.Origin
null
.public Iterator<Plugin.Engine.Source.Element> iterator()
iterator
in interface Iterable<Plugin.Engine.Source.Element>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2024. All rights reserved.