Class Processor<T>
java.lang.Object
org.owasp.dependencycheck.utils.processing.Processor<T>
- Type Parameters:
T- the type of processor
- All Implemented Interfaces:
AutoCloseable, Runnable
Abstract class to create, in general, an input stream processor used to
evaluate the output of an external process.
- Author:
- Jeremy Long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSuppressedExceptions(Throwable ex, Throwable... suppress) Adds any non-null exceptions in the `suppress` list to the suppressed exceptions on the main exception `ex`.protected TgetInput()Retrieves a reference to the input.voidSets the input to process.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AutoCloseable
close
-
Constructor Details
-
Processor
public Processor()Creates a new processor. -
Processor
-
-
Method Details
-
setInput
-
getInput
-
addSuppressedExceptions
Adds any non-null exceptions in the `suppress` list to the suppressed exceptions on the main exception `ex`.- Parameters:
ex- the main exception that suppressed exceptions will be addedsuppress- one or more exceptions that will be added as suppressed
-