All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spreadsheet.mapper.w2o.validation.validator.sheet.SheetValidator Maven / Gradle / Ivy

The newest version!
package spreadsheet.mapper.w2o.validation.validator.sheet;

import spreadsheet.mapper.model.core.Sheet;
import spreadsheet.mapper.model.meta.SheetMeta;

/**
 * sheet validator, after workbook validators, if workbook validators failure, sheet validators will skip.
 * 

* Created by hanwen on 2016/12/23. */ public interface SheetValidator { /** * the error message will be collected when validator failure if error message is not blank * * @return valid error message */ String getErrorMessage(); /** * valid supplied sheet * * @param sheet {@link Sheet} * @param sheetMeta {@link SheetMeta} * @return true if pass */ boolean valid(Sheet sheet, SheetMeta sheetMeta); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy