Ejemplo n.º 1
0
 public String getFileName() {
   String n = location.getName();
   return FileUtils.removeExtension(
       isActive() ? n : n.substring(0, n.length() - ".disabled".length()));
 }
Ejemplo n.º 2
0
 public String getName() {
   return name == null ? FileUtils.removeExtension(location.getName()) : name;
 }