Subversion Repositories XServices

Compare Revisions

Regard whitespace Rev 147 → Rev 156

/xservices/trunk/src/java/net/brutex/xservices/ws/rs/FileInfo.java
38,7 → 38,7
*/
 
@Path("/FileService/")
@Produces({ "application/xml" })
@Produces({ "text/xml" })
public abstract interface FileInfo {
 
public final static String BASE_PATH = "/FileService/";
/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) {