public static class

ArgumentCompleter.ArgumentList

extends Object
java.lang.Object
   ↳ jline.console.completer.ArgumentCompleter.ArgumentList

Class Overview

The result of a delimited buffer.

Summary

Public Constructors
ArgumentCompleter.ArgumentList(String[] arguments, int cursorArgumentIndex, int argumentPosition, int bufferPosition)
Public Methods
int getArgumentPosition()
String[] getArguments()
int getBufferPosition()
String getCursorArgument()
int getCursorArgumentIndex()
void setArgumentPosition(int pos)
void setArguments(String[] arguments)
void setBufferPosition(int pos)
void setCursorArgumentIndex(int i)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ArgumentCompleter.ArgumentList (String[] arguments, int cursorArgumentIndex, int argumentPosition, int bufferPosition)

Parameters
arguments The array of tokens
cursorArgumentIndex The token index of the cursor
argumentPosition The position of the cursor in the current token
bufferPosition The position of the cursor in the whole buffer

Public Methods

public int getArgumentPosition ()

public String[] getArguments ()

public int getBufferPosition ()

public String getCursorArgument ()

public int getCursorArgumentIndex ()

public void setArgumentPosition (int pos)

public void setArguments (String[] arguments)

public void setBufferPosition (int pos)

public void setCursorArgumentIndex (int i)