public static class MACAddressStringParameters.Builder extends AddressStringParameters.BuilderBase
Constructor and Description |
---|
Builder() |
public MACAddressStringParameters.Builder allowEmpty(boolean allow)
allowEmpty
in class AddressStringParameters.BuilderBase
allow
- AddressStringParameters.allowEmpty
public MACAddressStringParameters.Builder allowSingleSegment(boolean allow)
allowSingleSegment
in class AddressStringParameters.BuilderBase
AddressStringParameters.allowEmpty
public MACAddressStringParameters.Builder allowDashed(boolean bool)
public MACAddressStringParameters.Builder allowColonDelimited(boolean allow)
public MACAddressStringParameters.Builder allowDotted(boolean allow)
public MACAddressStringParameters.Builder allowSpaceDelimited(boolean allow)
public MACAddressStringParameters.Builder allowAll(boolean allow)
allowAll
in class AddressStringParameters.BuilderBase
public MACAddressStringParameters.Builder setAllAddresses(MACAddressStringParameters.AddressSize all)
public MACAddressStringParameters.Builder setNetwork(MACAddressNetwork network)
network
- if null, the default network will be usedMACAddressStringParameters.network
public MACAddressStringParameters.Builder allowWildcardedSeparator(boolean allow)
public MACAddressStringParameters.Builder setRangeOptions(AddressStringParameters.RangeParameters rangeOptions)
public MACAddressStringParameters.MACAddressStringFormatParameters.Builder getFormatBuilder()
public MACAddressStringParameters toParams()