java.lang.Object
com.maxmind.db.Network
Network represents an IP network.- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Network
Construct aNetwork- Parameters:
 ipAddress- An IP address in the network. This does not have to be the first address in the network.prefixLength- The prefix length for the network.
 
 - 
 - 
Method Details
- 
getNetworkAddress
- Returns:
 - The first address in the network.
 
 - 
getPrefixLength
public int getPrefixLength()- Returns:
 - The prefix length is the number of leading 1 bits in the subnet mask. Sometimes also known as netmask length.
 
 - 
toString
 
 -