net.stickycode.configuration.placeholder.NoPlaceholder Maven / Gradle / Ivy
package net.stickycode.configuration.placeholder;
public class NoPlaceholder
implements Placeholder {
@Override
public boolean notFound() {
return true;
}
@Override
public String getKey() {
throw new UnsupportedOperationException("No placeholder means no key");
}
@Override
public String replace(String lookup) {
throw new UnsupportedOperationException("No placeholder means replacement");
}
@Override
public int getStart() {
return 0;
}
@Override
public int getEnd() {
return 0;
}
@Override
public boolean contains(Placeholder placeholder) {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy