IotHubConnectionStringBuilder.validateFormat(String value, String propertyName, String regex) Method

Definition

Validate string property using given regex

protected static void validateFormat(String value, String propertyName, String regex)

Parameters

value
java.lang.String

The string value to validate

propertyName
java.lang.String

The property name

regex
java.lang.String

The regex used for validation

Applies to