public static interface Plugin.Engine.Source.Element
Modifier and Type | Interface and Description |
---|---|
static class |
Plugin.Engine.Source.Element.ForByteArray
An element representation for a byte array.
|
static class |
Plugin.Engine.Source.Element.ForFile
An element representation for a file.
|
static class |
Plugin.Engine.Source.Element.ForJarEntry
Represents a jar file entry as an element.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns an input stream to read this element's binary information.
|
java.lang.String |
getName()
Returns the element's relative path and name.
|
<T> T |
resolveAs(java.lang.Class<T> type)
Resolves this element to a more specialized form if possible.
|
java.lang.String getName()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occurs.<T> T resolveAs(java.lang.Class<T> type)
T
- The requested spezialized type.type
- The requested spezialized type.null
if a transformation is impossible.