Class MediaConditionValidator
java.lang.Object
com.amilesend.discogs.csv.validation.MediaConditionValidator
- All Implemented Interfaces:
ValueValidator
Validates a media condition attribute.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(String value, @NonNull InventoryHeader header, Integer row, Integer col) Validates a CSV attribute.
-
Constructor Details
-
MediaConditionValidator
public MediaConditionValidator()
-
-
Method Details
-
validate
public void validate(String value, @NonNull InventoryHeader header, Integer row, Integer col) throws ValidationException Description copied from interface:ValueValidator
Validates a CSV attribute.- Specified by:
validate
in interfaceValueValidator
- Parameters:
value
- to validateheader
- the associated headerrow
- the row indexcol
- the column index- Throws:
ValidationException
- if the field contains an invalid/malformed value
-