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

ru.cwcode.commands.arguments.SafetyStringArg Maven / Gradle / Ivy

package ru.cwcode.commands.arguments;

import ru.cwcode.commands.arguments.basic.StringArg;
import ru.cwcode.cwutils.text.StringUtils;

public class SafetyStringArg extends StringArg {
  public SafetyStringArg() {
  
  }
  
  public SafetyStringArg(String placeholder) {
    this.placeholder = placeholder;
  }
  
  @Override
  public boolean valid(String raw) {
    return super.valid(raw) && StringUtils.isSafetyString(raw);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy