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 | 
|---|---|
InputStream | 
getInputStream()
Returns an input stream to read this element's binary information. 
 | 
String | 
getName()
Returns the element's relative path and name. 
 | 
<T> T | 
resolveAs(Class<T> type)
Resolves this element to a more specialized form if possible. 
 | 
String getName()
InputStream getInputStream() throws IOException
IOException - If an I/O error occurs.@MaybeNull <T> T resolveAs(Class<T> type)
T - The requested spezialized type.type - The requested spezialized type.null if a transformation is impossible.Copyright © 2014–2021. All rights reserved.