public class FindReplace extends Object
| Constructor and Description |
|---|
FindReplace()
Constructs a new FindReplace object with default find and replace bytes (0x00).
|
FindReplace(byte find,
byte replace)
Constructs a new FindReplace object with the specified find and replace bytes.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode()
Encodes the find and replace bytes into a byte array.
|
byte |
getFind()
Gets the find byte.
|
byte |
getReplace()
Gets the replace byte.
|
void |
setFind(byte find)
Sets the find byte.
|
void |
setReplace(byte replace)
Sets the replace byte.
|
public FindReplace()
public FindReplace(byte find,
byte replace)
find - The byte to find.replace - The byte to replace the found byte with.public byte getFind()
public void setFind(byte find)
find - The byte to find.public byte getReplace()
public void setReplace(byte replace)
replace - The byte to replace the found byte with.public byte[] encode()