public final class IPRange extends Object
Constructor and Description |
---|
IPRange(String ip)
Creates an IP Range using the specified single IP address.
|
IPRange(String mininimumIP,
String maximumIP)
Creates an IP Range using the specified minimum and maximum IP addresses.
|
Modifier and Type | Method and Description |
---|---|
String |
getIpMax()
The maximum IP address for the range, inclusive.
|
String |
getIpMin()
The minimum IP address for the range, inclusive.
|
String |
toString()
Output the single IP address or range of IP addresses.
|
public IPRange(String ip)
ip
- the single IP addresspublic String getIpMin()
getIpMax()
if this IPRange
represents a single IP address.public String getIpMax()
getIpMin()
if this IPRange
represents a single IP address.Copyright © 2019. All rights reserved.