Package | Description |
---|---|
com.cososys.sensitivityio.sds.wrapper | |
com.cososys.sensitivityio.sds.wrapper.listener | |
com.cososys.sensitivityio.sds.wrapper.util |
Modifier and Type | Method and Description |
---|---|
java.util.List<Threat> |
LocalScanner.scanBuffer(byte[] buffer,
boolean stopAtFirstThreat,
java.lang.String fileName)
Executes a buffer scan.
|
java.util.List<Threat> |
LocalScanner.scanFile(java.io.File file,
boolean stopAtFirstThreat)
Executes a file scan.
|
java.util.List<Threat> |
LocalScanner.scanString(java.lang.String string,
boolean stopAtFirstThreat)
Executes a string scan.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ThreatHandler.onThreatFound(Threat threat)
Triggers when a threat was found.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudScanListener.onCloudScanSuccess(java.util.List<Threat> threats)
Triggered when a cloud scan has successfully completed.
|
void |
MultithreadedScanListener.onScanFinished(java.util.List<Threat> threats)
Triggered when a scan has finished.
|
Modifier and Type | Method and Description |
---|---|
static Threat |
SdsConverter.toThreat(ThreatInfo threatInfo)
Converts a
ThreatInfo into a Threat . |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Threat> |
SdsConverter.toThreatList(CloudScanResponse cloudResponse)
Converts a list of
CloudScanResponse into a list of Threat . |
static java.util.List<Threat> |
SdsConverter.toThreatList(ThreatInfo[] threatInfos)
Converts a list of
ThreatInfo into a list of Threat . |