public static interface Plugin.Engine.Source extends Iterable<Plugin.Engine.Source.Element>
Modifier and Type | Interface and Description |
---|---|
static interface |
Plugin.Engine.Source.Element
Represents a binary element found in a source location.
|
static class |
Plugin.Engine.Source.Empty
An empty source that does not contain any elements or a manifest.
|
static class |
Plugin.Engine.Source.ForFolder
Represents the contents of a folder as class files.
|
static class |
Plugin.Engine.Source.ForJarFile
Represents a jar file as a source.
|
static class |
Plugin.Engine.Source.InMemory
A source that represents a collection of in-memory resources that are represented as byte arrays.
|
Modifier and Type | Field and Description |
---|---|
static Manifest |
NO_MANIFEST
Indicates that no manifest exists.
|
Modifier and Type | Method and Description |
---|---|
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. |
forEach, iterator, spliterator
static final Manifest NO_MANIFEST
ClassFileLocator getClassFileLocator()
Manifest getManifest() throws IOException
null
if no manifest exists.null
.IOException
- If an I/O error occurs.Copyright © 2014–2018. All rights reserved.