01: /*
02: * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved.
03: *
04: * This software is distributable under the BSD license. See the terms of the
05: * BSD license in the documentation provided with this software.
06: */
07: package jline;
08:
09: 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: }
|