JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
com.codename1.cli
Prompt
Validator
Contents
Description
Method Summary
Method Details
validate(String)
Hide sidebar
Show sidebar
Interface Prompt.Validator
Enclosing class:
Prompt
public static interface
Prompt.Validator
Checks an answer before a text prompt accepts it.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
String
validate
(
String
value)
Null to accept
value
, otherwise the message shown under the prompt while the person corrects it.
Method Details
validate
String
validate
(
String
value)
Null to accept
value
, otherwise the message shown under the prompt while the person corrects it.