public class InspectorForFormulas extends Object implements CheckedUserInput.CheckedUserInputInspector
Modifier and Type | Field and Description |
---|---|
private Services |
services |
NO_USER_INPUT
Constructor and Description |
---|
InspectorForFormulas(Services services) |
Modifier and Type | Method and Description |
---|---|
String |
check(String toBeChecked) |
static Term |
translate(Services services,
String toBeChecked) |
private final Services services
public InspectorForFormulas(Services services)
public String check(String toBeChecked)
check
in interface CheckedUserInput.CheckedUserInputInspector
toBeChecked
- the user input to be checked.null
if the user input is valid, otherwise a string describing the error.