Class ByteInput
java.lang.Object
org.openjdk.asmtools.common.inputs.ByteInput
- All Implemented Interfaces:
ToolInput
- Direct Known Subclasses:
StreamInput
,StringInput
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataInputStream
(Optional<Environment> logger) protected void
init()
toString()
-
Field Details
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
ByteInput
public ByteInput(byte[] bytes) -
ByteInput
protected ByteInput()
-
-
Method Details
-
getFileName
- Specified by:
getFileName
in interfaceToolInput
-
toString
-
init
protected void init() -
getDataInputStream
public DataInputStream getDataInputStream(Optional<Environment> logger) throws URISyntaxException, IOException - Specified by:
getDataInputStream
in interfaceToolInput
- Throws:
URISyntaxException
IOException
-
readAllLines
- Specified by:
readAllLines
in interfaceToolInput
- Throws:
IOException
-