Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
/ surbl Public archive

Java Client Library for SURBL.org - Spam URI Real-time Blackhole List

License

Notifications You must be signed in to change notification settings

ggrandes/surbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SURBL

Java Client Library for SURBL - Spam URI Real-time Blackhole List. Open Source Java project under Apache License v2.0

Current Stable Version is 1.0.1


DOC

Usage Example

import org.javastack.surbl.SURBL;

public class Example {
	public static void main(String[] args) throws Throwable {
		final SURBL surbl = new SURBL();
		surbl.load();
		System.out.println(surbl.checkSURBL("www.acme.com") ? "spam" : "clean");
	}
}

MAVEN

Add the dependency to your pom.xml:

<dependency>
    <groupId>org.javastack</groupId>
    <artifactId>surbl</artifactId>
    <version>1.0.1</version>
</dependency>

Inspired in SURBL, this code is Java-minimalistic version.

About

Java Client Library for SURBL.org - Spam URI Real-time Blackhole List

Topics

Resources

License

Stars

Watchers

Forks

Languages