org.clapper.util.text
Interface VariableNameChecker
-
- All Known Implementing Classes:
- AbstractVariableSubstituter, Configuration, UnixShellVariableSubstituter, WindowsCmdVariableSubstituter
public interface VariableNameCheckerThis interface defines the methods for a class that checks characters to determine whether they're legal for a variable name that's to be substituted by a
VariableSubstituterobject. It has a single method,legalVariableCharacter(char), which determines whether a specified character is a legal part of a variable name or not. This capability provides additional flexibility by allowing callers to define precisely what characters constitute legal variable names.- See Also:
VariableSubstituter,VariableDereferencer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanlegalVariableCharacter(char c)Determine whether a character may legally be used in a variable name or not.
-
-
-
Method Detail
-
legalVariableCharacter
boolean legalVariableCharacter(char c)
Determine whether a character may legally be used in a variable name or not.
- Parameters:
c- The character to test- Returns:
- true if the character may be part of a variable name, false otherwise
- See Also:
VariableSubstituter.substitute(java.lang.String, org.clapper.util.text.VariableDereferencer, java.lang.Object)
-
-
DMelt 3.0 © DataMelt by jWork.ORG