Package burp.api.montoya.ui
Interface Selection
public interface Selection
Provides helpful information and functionality relating to a user's selection within the user interface.
-
Method Details
-
contents
ByteArray contents()- Returns:
- The contents that are derived from within the user's selection range.
-
offsets
Range offsets()- Returns:
- The positional data of where the user has selected.
-
selection
- Parameters:
selectionContents
- The contents of the selection.- Returns:
- A new instance of
Selection
-
selection
Create an instance ofSelection
without content data.- Parameters:
startIndexInclusive
- The start position of the selection range.endIndexExclusive
- The end position of the selection range.- Returns:
- A new instance of
Selection
-
selection
static Selection selection(ByteArray selectionContents, int startIndexInclusive, int endIndexExclusive) Create an instance ofSelection
.- Parameters:
selectionContents
- The contents of the selection.startIndexInclusive
- The start position of the selection range.endIndexExclusive
- The end position of the selection range.- Returns:
- A new instance of
Selection
-