FileDocCategorySizeDatePackage
UIInputValidator.javaAPI DocAzureus 3.0.3.41617Mon Nov 13 10:39:12 GMT 2006org.gudy.azureus2.plugins.ui

UIInputValidator

public interface UIInputValidator
Interface class which provides a way to validate or reject input provided by a user. This is mainly to be used with {@link UIInputReceiver}.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Stringvalidate(java.lang.String input)
Validates a input string from the user. This function has to return a localised string message indicating why the given string is not valid. If the string is valid, the function should return null.

Note - the returned string in the case of invalid input must be localised - no translating of the string returned will take place.