public class UtilIp extends Object
Modifier and Type | Method and Description |
---|---|
static long |
toInt(String dottedIpv4)
Return an integer representation of an ipv4 representation
|
public static long toInt(String dottedIpv4) throws UnknownHostException
dottedIpv4
- the ipva dot representationUnknownHostException
- in you give something invalidCopyright © 2014–2023. All rights reserved.