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 TypeMethodDescriptionbyte[]getBytes()getDataInputStream(Optional<Environment> logger) getName()intgetSize()protected voidinit()setDetailedInput(boolean detailedInput) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ToolInput
isDetailedInput
-
Field Details
-
detailedInput
private boolean detailedInput -
md
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
ByteInput
public ByteInput(byte[] bytes) -
ByteInput
protected ByteInput()
-
-
Method Details
-
getBytes
public byte[] getBytes() -
setDetailedInput
- Specified by:
setDetailedInputin interfaceToolInput
-
getMessageDigest
- Specified by:
getMessageDigestin interfaceToolInput
-
getSize
-
getName
-
toString
-
init
protected void init() -
getDataInputStream
- Specified by:
getDataInputStreamin interfaceToolInput
-
readAllLines
- Specified by:
readAllLinesin interfaceToolInput- Throws:
IOException
-