Package org.bukkit.conversations
Class RegexPrompt
java.lang.Object
org.bukkit.conversations.ValidatingPrompt
org.bukkit.conversations.RegexPrompt
RegexPrompt is the base class for any prompt that requires an input
 validated by a regular expression.
- 
Field SummaryFields inherited from interface org.bukkit.conversations.PromptEND_OF_CONVERSATION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisInputValid(ConversationContext context, String input) Override this method to check the validity of the player's input.Methods inherited from class org.bukkit.conversations.ValidatingPromptacceptInput, acceptValidatedInput, blocksForInput, getFailedValidationTextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.conversations.PromptgetPromptText
- 
Constructor Details- 
RegexPrompt
- 
RegexPrompt
 
- 
- 
Method Details- 
isInputValidDescription copied from class:ValidatingPromptOverride this method to check the validity of the player's input.- Specified by:
- isInputValidin class- ValidatingPrompt
- Parameters:
- context- Context information about the conversation.
- input- The player's raw console input.
- Returns:
- True or false depending on the validity of the input.
 
 
-