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)
BytesValidatorvalidate in interface BytesValidatorbyteArrayToValidate - array, must not be altered, only readCopyright © 2017–2021. All rights reserved.