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

jline.CompletionHandler Maven / Gradle / Ivy

/*
 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved.
 *
 * This software is distributable under the BSD license. See the terms of the
 * BSD license in the documentation provided with this software.
 */
package jline;

import java.io.*;
import java.util.*;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy