Interface IPRange

All Superinterfaces:
Serializable

public interface IPRange extends Serializable
Created by wangzhon on 2015/8/26.
  • Method Details

    • getStartIP

      String getStartIP()
      Returns the String value of the first IP.
      Returns:
      the StartIP.
    • getCidrMask

      int getCidrMask()
      get cidr mask (if value = 0, the range is not cidr type)
      Returns:
    • isChanged

      boolean isChanged()
    • getEndIP

      String getEndIP()
      Returns the String value of the last IP.
      Returns:
      the EndIP.
    • getIPType

      IPRange.IPType getIPType()
      Returns the type of the IP range.
      Returns:
      the IPType.
    • getRangeCategory

      IPRange.RangeCategory getRangeCategory()
      Returns the category of the IP range.
      Returns:
      the RangeCategory.
    • toRangeString

      String toRangeString(String separator)
      Returns the String format of the IP range.
      Returns:
      the RangeString.
    • toDelimiterRange

      String toDelimiterRange()
      Returns the String format of the IP range.
      Returns:
      the RangeString.