com.github.siwenyan.dish_parser.StringNorm Maven / Gradle / Ivy
package com.github.siwenyan.dish_parser;
import java.security.InvalidParameterException;
public class StringNorm extends StringOut {
private String textPlaceholder = null;
public StringNorm(String textPlaceholder) {
if (textPlaceholder == null || textPlaceholder.trim().isEmpty()) {
throw new InvalidParameterException();
}
this.textPlaceholder = textPlaceholder.trim();
}
public String getTextPlaceholder() {
return this.textPlaceholder;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy