Package org.apache.felix.gogo.shell
Class History
java.lang.Object
org.apache.felix.gogo.shell.History
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
append
(CharSequence commandLine) (package private) CharSequence
evaluate
(CharSequence commandLine) private String
private CharSequence
findDelimiter
(CharacterIterator ci, char delimiter) private String
private String
Returns the command history, oldest command firstprivate String
subst
(CharacterIterator ci, char delimiter, boolean replaceAll, String event)
-
Field Details
-
SIZE_DEFAULT
private static final int SIZE_DEFAULT- See Also:
-
commands
-
limit
private int limit
-
-
Constructor Details
-
History
public History()
-
-
Method Details
-
evaluate
-
getHistory
Returns the command history, oldest command first -
append
-
getCommand
-
findContains
-
findStartsWith
-
subst
-
findDelimiter
-