@FunctionalInterface
public interface InputFilter
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.lang.String,ConsoleViewContentType>> |
applyFilter(java.lang.String text,
ConsoleViewContentType contentType) |
java.util.List<Pair<java.lang.String,ConsoleViewContentType>> applyFilter(java.lang.String text, ConsoleViewContentType contentType)
text
- the text to be filtered.contentType
- the content type of filtered text("my prompt", ConsoleViewContentType.SYSTEM_OUTPUT)