Class FileInput
java.lang.Object
org.openjdk.asmtools.common.inputs.FileInput
- All Implemented Interfaces:
ToolInput
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FileInput.CapacityInputStreamprivate booleanprivate final Stringprivate MessageDigest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataInputStream(Optional<Environment> logger) getName()intgetSize()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 -
fileName
-
md
-
cis
-
-
Constructor Details
-
FileInput
-
-
Method Details
-
getName
-
readAllLines
- Specified by:
readAllLinesin interfaceToolInput- Throws:
IOException
-
setDetailedInput
- Specified by:
setDetailedInputin interfaceToolInput
-
getMessageDigest
- Specified by:
getMessageDigestin interfaceToolInput
-
getSize
-
getDataInputStream
public DataInputStream getDataInputStream(Optional<Environment> logger) throws URISyntaxException, IOException - Specified by:
getDataInputStreamin interfaceToolInput- Throws:
URISyntaxExceptionIOException
-
toString
-