Class Port
- java.lang.Object
-
- org.glassfish.config.support.datatypes.Port
-
-
Constructor Summary
Constructors Constructor Description Port()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(String value)Checks if given string represents a port.
-
-
-
Method Detail
-
validate
public void validate(String value) throws ValidationException
Checks if given string represents a port. Does not allow any value other than those between 0 and 65535 (both inclusive).- Specified by:
validatein interfaceDataType- Parameters:
value- represents the value of the port.- Throws:
ValidationException- if the value does not represent integer value.
-
-