@HashCodeAndEqualsPlugin.Enhance protected static class Plugin.Engine.Source.Compound.Origin extends Object implements Plugin.Engine.Source.Origin
Plugin.Engine.Source.Origin.| Modifier and Type | Class and Description |
|---|---|
protected static class |
Plugin.Engine.Source.Compound.Origin.CompoundIterator
A compound iterator that combines several iterables.
|
Plugin.Engine.Source.Origin.Filtering, Plugin.Engine.Source.Origin.ForJarFileNO_MANIFEST| Modifier | Constructor and Description |
|---|---|
protected |
Origin(List<Plugin.Engine.Source.Origin> origins)
Creates a new compound origin.
|
| 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected Origin(List<Plugin.Engine.Source.Origin> origins)
origins - A list of represented origins.public Manifest getManifest() throws IOException
null if no manifest exists.getManifest in interface Plugin.Engine.Source.Originnull.IOException - If an I/O error occurs.public ClassFileLocator getClassFileLocator()
getClassFileLocator in interface Plugin.Engine.Source.Originpublic Iterator<Plugin.Engine.Source.Element> iterator()
iterator in interface Iterable<Plugin.Engine.Source.Element>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2023. All rights reserved.