public class CompositeInputFilter extends java.lang.Object implements InputFilter
Constructor and Description |
---|
CompositeInputFilter(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(InputFilter filter) |
java.util.List<Pair<java.lang.String,ConsoleViewContentType>> |
applyFilter(java.lang.String text,
ConsoleViewContentType contentType) |
public CompositeInputFilter(Project project)
public java.util.List<Pair<java.lang.String,ConsoleViewContentType>> applyFilter(java.lang.String text, ConsoleViewContentType contentType)
applyFilter
in interface InputFilter
text
- the text to be filtered.contentType
- the content type of filtered text("my prompt", ConsoleViewContentType.SYSTEM_OUTPUT)
public void addFilter(InputFilter filter)