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 voidinit()toString()
-
Field Details
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
ByteInput
public ByteInput(byte[] bytes) -
ByteInput
protected ByteInput()
-
-
Method Details
-
getFileName
- Specified by:
getFileNamein interfaceToolInput
-
toString
-
init
protected void init() -
getDataInputStream
public DataInputStream getDataInputStream(Optional<Environment> logger) throws URISyntaxException, IOException - Specified by:
getDataInputStreamin interfaceToolInput- Throws:
URISyntaxExceptionIOException
-
readAllLines
- Specified by:
readAllLinesin interfaceToolInput- Throws:
IOException
-