com.izforge.izpack.panels.userinput.validator
Class HostAddressValidator
java.lang.Object
com.izforge.izpack.panels.userinput.validator.HostAddressValidator
- All Implemented Interfaces:
- Validator
public class HostAddressValidator
- extends Object
- implements Validator
A validator to check wheter a host:port is available (free).
This validator can be used for rule input fields in the UserInputPanel to make sure that the port
the user entered is not in use.
- Author:
- thorque
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostAddressValidator
public HostAddressValidator()
validate
public boolean validate(ProcessingClient client)
- Description copied from interface:
Validator
- Validates the contend of an input field.
- Specified by:
validate in interface Validator
- Parameters:
client - the client object using the services of this validator.
- Returns:
true if the validation passes, otherwise false.
Copyright © 2018. All rights reserved.