public static final class BytesValidator.PrePostFix extends Object implements BytesValidator
BytesValidator.IdenticalContent, BytesValidator.Length, BytesValidator.Logical, BytesValidator.PrePostFix
Constructor and Description |
---|
PrePostFix(boolean startsWith,
byte... pfix) |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(byte[] byteArrayToValidate)
Validates given byte array
|
public boolean validate(byte[] byteArrayToValidate)
BytesValidator
validate
in interface BytesValidator
byteArrayToValidate
- array, must not be altered, only readCopyright © 2017–2018. All rights reserved.