public class UserListIPBans extends UserList<java.lang.String,UserListIPBansEntry>
Constructor and Description |
---|
UserListIPBans(java.io.File bansFile) |
Modifier and Type | Method and Description |
---|---|
protected UserListEntry<java.lang.String> |
createEntry(com.google.gson.JsonObject entryData) |
UserListIPBansEntry |
getBanEntry(java.net.SocketAddress address) |
boolean |
isBanned(java.net.SocketAddress address) |
addEntry, getEntry, getKeys, getObjectKey, getSaveFile, getValues, hasEntry, isEmpty, isLanServer, readSavedFile, removeEntry, setLanServer, writeChanges
protected UserListEntry<java.lang.String> createEntry(com.google.gson.JsonObject entryData)
createEntry
in class UserList<java.lang.String,UserListIPBansEntry>
public boolean isBanned(java.net.SocketAddress address)
public UserListIPBansEntry getBanEntry(java.net.SocketAddress address)