|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.tfe.core.HotIP
| Field Summary | |
static HotIPList |
ipList
|
| Constructor Summary | |
HotIP(java.net.InetAddress addr,
short mask,
java.awt.Color color,
java.lang.String comments)
Creates new HotIP |
|
| Method Summary | |
boolean |
compare(java.lang.String ip)
Compares an address with a Hot IP to see if it falls within an address/mask combination. |
java.net.InetAddress |
getAddress()
Gets the IP address of the HotIP |
java.awt.Color |
getColor()
Gets the Color of the HotIP |
java.lang.String |
getComments()
Gets comments associated with the HotIP |
short |
getMask()
Gets the bit mask value of the HotIP |
void |
setAddress(java.net.InetAddress address)
Sets the IP address of the HotIP |
void |
setColor(java.awt.Color color)
Sets the Color of the HotIP |
void |
setComments(java.lang.String comments)
Sets the comments field of the HotIP |
void |
setMask(short mask)
Sets the bit mask of the HotIP |
java.lang.String |
toString()
Retrieves a String representation of the HotIP. |
java.lang.String[] |
toSummary()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final HotIPList ipList
| Constructor Detail |
public HotIP(java.net.InetAddress addr,
short mask,
java.awt.Color color,
java.lang.String comments)
| Method Detail |
public java.net.InetAddress getAddress()
public short getMask()
public java.awt.Color getColor()
Color value of the HotIPpublic java.lang.String getComments()
public void setAddress(java.net.InetAddress address)
address - String value of the IP addresspublic void setMask(short mask)
mask - int value of the bit maskpublic void setColor(java.awt.Color color)
color - the color of the HotIPpublic void setComments(java.lang.String comments)
comments - String value of the commentspublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean compare(java.lang.String ip)
ip - the IP address to be compared with the Hot IP.
public java.lang.String[] toSummary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||