Returns the names of all users that match the specified pattern. @param pattern glob pattern @return user list
(final Pattern pattern)
| 163 | * @return user list |
| 164 | */ |
| 165 | public synchronized String[] find(final Pattern pattern) { |
| 166 | final StringList sl = new StringList(); |
| 167 | for(final String name : users.keySet()) { |
| 168 | if(pattern.matcher(name).matches()) sl.add(name); |
| 169 | } |
| 170 | return sl.finish(); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Returns a table with all users, or users from a specific database. |