add method in ResourceEnum to retrieve the lowercase value.
FEA: ItEr75S09ImproveBandboxFinders
This commit is contained in:
parent
fb705bcaad
commit
644947dac3
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ public enum ResourceEnum {
|
|||
return klass.getSimpleName().toUpperCase();
|
||||
}
|
||||
|
||||
public String toLowerCase() {
|
||||
return klass.getSimpleName().toLowerCase();
|
||||
}
|
||||
|
||||
public boolean isAssignableFrom(Class<?> clase) {
|
||||
return asClass().isAssignableFrom(clase);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue