IPRange Class
- java.
lang. Object - com.
microsoft. azure. storage. IPRange
- com.
public class IPRange
A continuous range of IP addresses.
Constructor Summary
Constructor | Description |
---|---|
IPRange(String ip) |
Creates an IP Range using the specified single IP address. The IP address must be IPv4. |
IPRange(String mininimumIP, String maximumIP) |
Creates an IP Range using the specified minimum and maximum IP addresses. The IP addresses must be IPv4. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getIpMax()
The maximum IP address for the range, inclusive. Will match getIpMin() if this represents a single IP address. |
String |
getIpMin()
The minimum IP address for the range, inclusive. Will match getIpMax() if this represents a single IP address. |
String |
toString()
Output the single IP address or range of IP addresses. |
Constructor Details
IPRange
public IPRange(String ip)
Creates an IP Range using the specified single IP address. The IP address must be IPv4.
Parameters:
IPRange
public IPRange(String mininimumIP, String maximumIP)
Creates an IP Range using the specified minimum and maximum IP addresses. The IP addresses must be IPv4.
Parameters:
Method Details
getIpMax
public String getIpMax()
The maximum IP address for the range, inclusive. Will match getIpMin() if this represents a single IP address.
Returns:
getIpMin
public String getIpMin()
The minimum IP address for the range, inclusive. Will match getIpMax() if this represents a single IP address.
Returns:
toString
public String toString()
Output the single IP address or range of IP addresses.
Returns:
String
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기