org.xnap.util.prefs
Interface Validator

All Known Implementing Classes:
IntValidator, PortRangeValidator, StringValidator, TreeTableColumnsValidator

public interface Validator

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

See Also:
xnap.util.PreferencesProvider

Method Summary
 void validate(java.lang.String newValue)
          Validates String.
 

Method Detail

validate

void validate(java.lang.String newValue)
Validates String.

Throws:
java.lang.IllegalArgumentException - if newValue is invalid.


Copyright © 2001-2005 XNap Team. All Rights Reserved.