Java SDK

Detectant Java SDK
Detectant is a malware scanning API with support for Java
Scan files for malware from Java applications.
Install
Maven:
Gradle:
Set your API key in the environment:
Create a client
Scan one file
The call completes after the file has been analyzed and returns its scan result. Input streams are also supported when a filename is supplied.
Async client
Use AsyncDetectantClient for non-blocking calls:
Requests retry transient failures twice by default. Configure timeouts, retries, and a custom OkHttp client through the builder.
Source
The SDK is generated with Fern and maintained at Detectant/java-sdk.

