All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jline.console.completer.CompletionHandler Maven / Gradle / Ivy

/*
 * Copyright (c) 2002-2012, the original author or authors.
 *
 * This software is distributable under the BSD license. See the terms of the
 * BSD license in the documentation provided with this software.
 *
 * http://www.opensource.org/licenses/bsd-license.php
 */
package scala.tools.jline.console.completer;

import scala.tools.jline.console.ConsoleReader;

import java.io.IOException;
import java.util.List;

/**
 * Handler for dealing with candidates for tab-completion.
 *
 * @author Marc Prud'hommeaux
 * @author Jason Dillon
 * @since 2.3
 */
public interface CompletionHandler
{
    boolean complete(ConsoleReader reader, List candidates, int position) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy