protected void handlerModuleResource(Local local, FileObject rootObject, FileObject thisFolder, FileObject resource) throws IOException { FileName fileName = resource.getName(); String bn = fileName.getBaseName(); if (logger.isDebugEnabled()) { logger.debug("handlerModuleResource baseName=" + bn + "; file=" + fileName.getFileObject()); } if (bn.endsWith(".class") && bn.indexOf('$') == -1) { addModuleClass(local, rootObject, thisFolder, resource); } else if (bn.startsWith("applicationContext") && bn.endsWith(".xml")) { addModuleContext(local, rootObject, thisFolder, resource); } else if (bn.startsWith("messages") && (bn.endsWith(".xml") || bn.endsWith(".properties"))) { addModuleMessage(local, rootObject, thisFolder, resource); } }
protected void handlerModuleResource(Local local, FileObject rootObject, FileObject thisFolder, FileObject resource) throws IOException { FileName fileName = resource.getName(); String bn = fileName.getBaseName(); if (logger.isDebugEnabled()) { logger.debug("handlerModuleResource baseName=" + bn + "; file=" + fileName.getFileObject()); } if (bn.endsWith(".class") && bn.indexOf('$') == -1) { addModuleClass(local, rootObject, thisFolder, resource); } else if (bn.startsWith("applicationContext") && bn.endsWith(".xml")) { addModuleContext(local, rootObject, thisFolder, resource); } else if (bn.startsWith("messages") && (bn.endsWith(".xml") || bn.endsWith(".properties"))) { addModuleMessage(local, rootObject, thisFolder, resource); } }