Package org.fife.ui.hex.swing
Class HexSearch
- java.lang.Object
-
- org.fife.ui.hex.swing.HexSearch
-
public class HexSearch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHexSearch.HexSearchOptions
-
Field Summary
Fields Modifier and Type Field Description private HexEditorhexprivate SearchStatesearchState
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleancheckIfMatches(java.util.List<java.lang.Byte> arr, int start)private booleanfindMatch(java.util.List<java.lang.Byte> arr, int start)private java.util.List<java.lang.Byte>getByteArray(java.lang.String str, HexSearch.HexSearchOptions type)SearchStategetSearchState()booleannext(java.lang.String str, HexSearch.HexSearchOptions type)booleanprevious(java.lang.String str, HexSearch.HexSearchOptions type)booleansearchHexCode(java.lang.String str, HexSearch.HexSearchOptions type)
-
-
-
Field Detail
-
hex
private HexEditor hex
-
searchState
private SearchState searchState
-
-
Constructor Detail
-
HexSearch
public HexSearch(HexEditor hex)
-
-
Method Detail
-
getSearchState
public SearchState getSearchState()
-
getByteArray
private java.util.List<java.lang.Byte> getByteArray(java.lang.String str, HexSearch.HexSearchOptions type)
-
searchHexCode
public boolean searchHexCode(java.lang.String str, HexSearch.HexSearchOptions type)
-
findMatch
private boolean findMatch(java.util.List<java.lang.Byte> arr, int start)
-
checkIfMatches
private boolean checkIfMatches(java.util.List<java.lang.Byte> arr, int start)
-
next
public boolean next(java.lang.String str, HexSearch.HexSearchOptions type)
-
previous
public boolean previous(java.lang.String str, HexSearch.HexSearchOptions type)
-
-