public class IPBanEntry extends BanEntry<java.lang.String>
banEndDate, bannedBy, banStartDate, DATE_FORMAT, reason| Constructor and Description | 
|---|
IPBanEntry(com.google.gson.JsonObject json)  | 
IPBanEntry(java.lang.String valueIn)  | 
IPBanEntry(java.lang.String valueIn,
          java.util.Date startDate,
          java.lang.String banner,
          java.util.Date endDate,
          java.lang.String banReason)  | 
| Modifier and Type | Method and Description | 
|---|---|
ITextComponent | 
getDisplayName()  | 
private static java.lang.String | 
getIPFromJson(com.google.gson.JsonObject json)  | 
protected void | 
onSerialization(com.google.gson.JsonObject data)  | 
getBanEndDate, getBannedBy, getBanReason, hasBanExpiredgetValuepublic IPBanEntry(java.lang.String valueIn)
public IPBanEntry(java.lang.String valueIn,
                  @Nullable
                  java.util.Date startDate,
                  @Nullable
                  java.lang.String banner,
                  @Nullable
                  java.util.Date endDate,
                  @Nullable
                  java.lang.String banReason)
public IPBanEntry(com.google.gson.JsonObject json)
public ITextComponent getDisplayName()
getDisplayName in class BanEntry<java.lang.String>private static java.lang.String getIPFromJson(com.google.gson.JsonObject json)
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization in class BanEntry<java.lang.String>