Java 类net.minecraft.server.IpBanList 实例源码

项目:CraftBukkit    文件:CraftIpBanEntry.java   
public CraftIpBanEntry(String target, IpBanEntry entry, IpBanList list) {
    this.list = list;
    this.target = target;
    this.created = entry.getCreated() != null ? new Date(entry.getCreated().getTime()) : null;
    this.source = entry.getSource();
    this.expiration = entry.getExpires() != null ? new Date(entry.getExpires().getTime()) : null;
    this.reason = entry.getReason();
}
项目:Craftbukkit    文件:CraftIpBanEntry.java   
public CraftIpBanEntry(String target, IpBanEntry entry, IpBanList list) {
    this.list = list;
    this.target = target;
    this.created = entry.getCreated() != null ? new Date(entry.getCreated().getTime()) : null;
    this.source = entry.getSource();
    this.expiration = entry.getExpires() != null ? new Date(entry.getExpires().getTime()) : null;
    this.reason = entry.getReason();
}
项目:Tweakkit-Server    文件:CraftIpBanEntry.java   
public CraftIpBanEntry(String target, IpBanEntry entry, IpBanList list) {
    this.list = list;
    this.target = target;
    this.created = entry.getCreated() != null ? new Date(entry.getCreated().getTime()) : null;
    this.source = entry.getSource();
    this.expiration = entry.getExpires() != null ? new Date(entry.getExpires().getTime()) : null;
    this.reason = entry.getReason();
}
项目:SpigotSource    文件:CraftIpBanEntry.java   
public CraftIpBanEntry(String target, IpBanEntry entry, IpBanList list) {
    this.list = list;
    this.target = target;
    this.created = entry.getCreated() != null ? new Date(entry.getCreated().getTime()) : null;
    this.source = entry.getSource();
    this.expiration = entry.getExpires() != null ? new Date(entry.getExpires().getTime()) : null;
    this.reason = entry.getReason();
}
项目:CraftBukkit    文件:CraftIpBanList.java   
public CraftIpBanList(IpBanList list) {
    this.list = list;
}
项目:Craftbukkit    文件:CraftIpBanList.java   
public CraftIpBanList(IpBanList list) {
    this.list = list;
}
项目:Tweakkit-Server    文件:CraftIpBanList.java   
public CraftIpBanList(IpBanList list) {
    this.list = list;
}
项目:SpigotSource    文件:CraftIpBanList.java   
public CraftIpBanList(IpBanList list) {
    this.list = list;
}