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

jline.CandidateCycleCompletionHandler Maven / Gradle / Ivy

The newest version!
/*
 * 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.*;

/**
 *  

* A {@link CompletionHandler} that deals with multiple distinct completions * by cycling through each one every time tab is pressed. This * mimics the behavior of the * editline * library. *

*

This class is currently a stub; it does nothing

* @author Marc Prud'hommeaux */ public class CandidateCycleCompletionHandler implements CompletionHandler { public boolean complete(final ConsoleReader reader, final List candidates, final int position) throws IOException { throw new IllegalStateException("CandidateCycleCompletionHandler unimplemented"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy