Class InterpreterHistory
java.lang.Object
com.pnfsoftware.jeb.util.interpreter.InterpreterHistory
- All Implemented Interfaces:
IAsciiable
Interpreter history objects, containing the list of commands previously issued to the
interpreter.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty interpreter history.InterpreterHistory(String historyData) Create an interpreter history from encoded history data. -
Method Summary
-
Constructor Details
-
InterpreterHistory
public InterpreterHistory()Create an empty interpreter history. -
InterpreterHistory
Create an interpreter history from encoded history data.- Parameters:
historyData- encoded history data
-
-
Method Details
-
encode
Encode this history as text.- Specified by:
encodein interfaceIAsciiable- Returns:
- encoded history data
-
get
Get the underlying item history.- Returns:
- command history
-