@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Source.Element.ForByteArray extends Object implements Plugin.Engine.Source.Element
Plugin.Engine.Source.Element.ForByteArray, Plugin.Engine.Source.Element.ForFile, Plugin.Engine.Source.Element.ForJarEntry| Constructor and Description | 
|---|
| ForByteArray(String name,
            byte[] binaryRepresentation)Creates an element that is represented by a byte array. | 
| 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. | 
public ForByteArray(String name, byte[] binaryRepresentation)
name - The element's name.binaryRepresentation - The element's binary representation.public String getName()
/, it represents
 a folder.getName in interface Plugin.Engine.Source.Elementpublic InputStream getInputStream()
getInputStream in interface Plugin.Engine.Source.Element@AlwaysNull public <T> T resolveAs(Class<T> type)
resolveAs in interface Plugin.Engine.Source.ElementT - The requested spezialized type.type - The requested spezialized type.null if a transformation is impossible.Copyright © 2014–2025. All rights reserved.