net.i2p.i2ptunnel

## Class BlacklistBean

- java.lang.Object
- - net.i2p.i2ptunnel.BlacklistBean

-     public class BlacklistBean
      extends Object

  Simple blacklist checker for HTTP proxy. Loads blacklist from addressbook/blacklist.txt and checks if addresses are blacklisted. Standalone implementation to avoid susidns dependencies.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BlacklistBean()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isBlacklisted(String address)` Check if an address is blacklisted.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BlacklistBean

          public BlacklistBean()

  - ### Method Detail

    - #### isBlacklisted

          public boolean isBlacklisted(String address)

      Check if an address is blacklisted.
      Parameters:
        `address` - the I2P address to check, may be a hostname or base32/Base64 address
      Returns:
        true if the address is in the blacklist, false otherwise