@Entity @Named public class IPAddress extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
IPAddress() |
|
IPAddress(String address,
GeoLocation geoLocation) |
Modifier and Type | Method and Description |
---|---|
InetAddress |
asInetAddress() |
boolean |
equals(Object obj) |
IPAddress |
fromString(String ipString) |
String |
getAddress() |
String |
getAddressAsString() |
GeoLocation |
getGeoLocation() |
int |
hashCode() |
IPAddress |
setAddress(String address) |
IPAddress |
setGeoLocation(GeoLocation geoLocation) |
String |
toString() |
protected IPAddress()
public IPAddress(String address, GeoLocation geoLocation)
public IPAddress fromString(String ipString) throws IllegalArgumentException
public InetAddress asInetAddress()
public String getAddress()
public String getAddressAsString()
public GeoLocation getGeoLocation()
public IPAddress setGeoLocation(GeoLocation geoLocation)
public int hashCode()
public boolean equals(Object obj)
public String toString()
Copyright © 2015 The Open Web Application Security Project (OWASP). All rights reserved.