|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.ui.autocomplete.completers.services.PrefixFilter
public class PrefixFilter
A PrefixFilter matches strings that start with certain prefix.
| Method Summary | |
|---|---|
boolean |
accept(java.lang.String input)
|
static PrefixFilter |
createPrefixFilter(java.lang.String prefix)
|
java.util.Vector |
filter(java.lang.String[] strings)
Convenient method that filters out strings that do not start with this filter's prefix. |
java.util.Vector |
filter(java.util.Vector strings)
Convenient method that filters out strings that do not start with this filter's prefix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PrefixFilter createPrefixFilter(java.lang.String prefix)
prefix - - The prefix that each string should start with in order to pass this filter.
public boolean accept(java.lang.String input)
input - - Some string.
true if the given input was accepted by this filter, false otherwise.public java.util.Vector filter(java.lang.String[] strings)
strings - - Array of strings.
public java.util.Vector filter(java.util.Vector strings)
strings - - Vector of strings.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard