1 package org.simantics.utils.strings;
3 import java.util.Collection;
4 import java.util.Collections;
7 * Checks the validity of input strings and returns
8 * possible problems in the input.
10 public interface StringInputValidator {
12 Collection<StringInputProblem> validate(String input);
14 public static StringInputValidator PASS = new StringInputValidator() {
17 public Collection<StringInputProblem> validate(String input) {
18 return Collections.emptyList();