me.excel.tools.prompter.DefaultFieldPrompter 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.prompter;
/**
* default prompter
*
* Created by hanwen on 2016/12/19.
*/
public class DefaultFieldPrompter implements FieldPrompter {
private String matchField;
private String prompt;
public DefaultFieldPrompter(String matchField, String prompt) {
this.matchField = matchField;
this.prompt = prompt;
}
protected final String getMatchField() {
return matchField;
}
@Override
public boolean matches(String field) {
return matchField.equals(field);
}
@Override
public String getPrompt() {
return prompt;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy