org.xnap.commons.settings
Interface Validator

All Known Implementing Classes:
IntValidator, PortRangeValidator, StringValidator

public interface Validator

Defines the requirements for classes that provide support to validate values. Used by the preferences framework to validate user input.

Author:
Steffen Pingel
See Also:
Setting

Method Summary
 void validate(String newValue)
          Validates String.
 

Method Detail

validate

void validate(String newValue)
Validates String.

Throws:
IllegalArgumentException - if newValue is invalid.


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.