Tiny Java library that provides basic functionality for host/ip-address matching with (wildcard) rules. Example: ip "123.123.123.123" matches the wildcard rule "123.123.123.*".
Hostrules4j is available from Maven Central:
<dependency>
<groupId>com.optimaize.hostrules4j</groupId>
<artifactId>hostrules4j</artifactId>
<version>0.2</version>
</dependency>