1 /*
2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved.
3 *
4 * This software is distributable under the BSD license. See the terms of the
5 * BSD license in the documentation provided with this software.
6 */
7 package jline;
8
9 import java.io.*;
10 import java.util.*;
11
12 /***
13 * Handler for dealing with candidates for tab-completion.
14 *
15 * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a>
16 */
17 public interface CompletionHandler {
18 boolean complete(ConsoleReader reader, List candidates, int position)
19 throws IOException;
20 }