me.excel.tools.extractor.FieldValueExtractorAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-excel-tools Show documentation
Show all versions of java-excel-tools Show documentation
powerful and convenient excel tools
The newest version!
package me.excel.tools.extractor;
/**
* field value extractor adapter, easy implements customer value extractor extends this.
*
* Created by hanwen on 5/3/16.
*/
public abstract class FieldValueExtractorAdapter implements FieldValueExtractor {
private String matchField;
public FieldValueExtractorAdapter(String matchField) {
this.matchField = matchField;
}
protected final String getMatchField() {
return matchField;
}
@Override
public abstract String getStringValue(Object data);
@Override
public boolean matches(String field) {
return field.equals(this.matchField);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy