Package org.jline.reader
Interface MaskingCallback
- All Known Implementing Classes:
SimpleMaskingCallback
public interface MaskingCallback
Callback used to mask parts of the line
-
Method Summary
-
Method Details
-
display
Transforms the line before it is displayed so that some parts can be hidden.- Parameters:
line
- the current line being edited- Returns:
- the modified line to display
-
history
Transforms the line before storing in the history. If the return value is empty or null, it will not be saved in the history.- Parameters:
line
- the line to be added to history- Returns:
- the modified line
-