public class UserSpecifiedNetwork extends Object
| Constructor and Description |
|---|
UserSpecifiedNetwork(int o1,
int o2,
int o3,
int o4,
int bits)
Create object from user specified data.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<UserSpecifiedNetwork> |
calcArrayList(String networkOpt) |
boolean |
inetAddressOnNetwork(InetAddress ia)
Test if an internet address lives on this user specified network.
|
public UserSpecifiedNetwork(int o1,
int o2,
int o3,
int o4,
int bits)
o1 - First octeto2 - Second octeto3 - Third octeto4 - Fourth octetbits - Bits on the left to comparepublic boolean inetAddressOnNetwork(InetAddress ia)
ia - Address to test.public static ArrayList<UserSpecifiedNetwork> calcArrayList(String networkOpt)
Copyright © 2013–2014 0xdata. All rights reserved.