Skip to content

cwkr/clamd4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clamd4j Coverage Status Javadocs

ClamAV Daemon Client for Java

Installation

Add the following dependency to the <dependencies> section of your pom.xml file when using Maven.

<dependency>
    <groupId>de.cwkr</groupId>
    <artifactId>clamd4j</artifactId>
    <version>0.1.0</version>
</dependency>

Usage

import de.cwkr.clamd4j.ClamdClient;
import de.cwkr.clamd4j.SuspiciousFile;
import java.util.Collections;

void main() {
    var clamdClient = new ClamdClient();
    var suspiciousFile = SuspiciousFile.of(new byte[]{});
    var report = clamdClient.scan(Collections.singletonList(suspiciousFile));
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

ClamAV Daemon Client for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages