/xservices/trunk/src/java/net/brutex/xservices/ws/rs/FileInfoImpl.java |
---|
139,6 → 139,12 |
logger.info("FileWalker returned '"+finder.getCount()+"' hits. '" + finder.getTotal() + "' files have been scanned."); |
List<Path> result = finder.getResult(); |
for(Path f : result) { |
if(! withDirectories) { |
if(f.toFile().isDirectory()) continue; |
} |
if(! withFiles) { |
if(f.toFile().isFile()) continue; |
} |
list.add(new FileInfoType(f, baseuri)); |
} |
} catch (IOException e2) { |