Class SimpleCompletor.NoOpFilter
- java.lang.Object
-
- org.codehaus.groovy.tools.shell.util.SimpleCompletor.NoOpFilter
-
- All Implemented Interfaces:
SimpleCompletor.SimpleCompletorFilter
- Enclosing class:
- SimpleCompletor
public static class SimpleCompletor.NoOpFilter extends java.lang.Object implements SimpleCompletor.SimpleCompletorFilter
-
-
Constructor Summary
Constructors Constructor Description NoOpFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
filter(java.lang.String element)
Filter the specified String.
-
-
-
Method Detail
-
filter
public java.lang.String filter(java.lang.String element)
Description copied from interface:SimpleCompletor.SimpleCompletorFilter
Filter the specified String. To not filter it, return the same String as the parameter. To exclude it, return null.- Specified by:
filter
in interfaceSimpleCompletor.SimpleCompletorFilter
-
-