com.izforge.izpack.util
Class IsPortValidator

java.lang.Object
  extended bycom.izforge.izpack.util.IsPortValidator
All Implemented Interfaces:
Validator

public class IsPortValidator
extends java.lang.Object
implements Validator

A validator to check whether the field content is a port .

Author:
thorque

Constructor Summary
IsPortValidator()
           
 
Method Summary
 boolean validate(ProcessingClient client)
          Validates the contend of an input field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsPortValidator

public IsPortValidator()
Method Detail

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.