@Override
  public boolean doList(String path, ResourceFilter filter) {
    """
	If the path denotes a directory, then it will return all resources that are contained in the
	directory.
	
	@param path   the path to the resource
	@param filter the filter to include only some resources in the result
	@return <code>true</code> if it was a directory, <code>false</code> otherwise
    """
    File file = null;
    try
    {
      file = new File(_root, path).getCanonicalFile();
    }
    catch(IOException e)
    {
      if(log.isDebugEnabled())
        log.debug("exception (ignored) while converting canonical file " + new File(_root, path), e);
      
      return false;
    }

    if(!file.isDirectory())
      return false;

    File[] files = file.listFiles();

    for(File f : files)
    {
      filter.accept(new FileResource(this, path + f.getName(), f));
    }
    
    return true;
  }
@Override
  public boolean doList(String path, ResourceFilter filter)
  {
    File file = null;
    try
    {
      file = new File(_root, path).getCanonicalFile();
    }
    catch(IOException e)
    {
      if(log.isDebugEnabled())
        log.debug("exception (ignored) while converting canonical file " + new File(_root, path), e);
      
      return false;
    }

    if(!file.isDirectory())
      return false;

    File[] files = file.listFiles();

    for(File f : files)
    {
      filter.accept(new FileResource(this, path + f.getName(), f));
    }
    
    return true;
  }
@ Override public boolean doList ( String path , ResourceFilter filter ) { File file = null ; try { file = new File ( _root , path ) . getCanonicalFile ( ) ; } catch ( IOException e ) { if ( log . isDebugEnabled ( ) ) log . debug ( "exception (ignored) while converting canonical file " + new File ( _root , path ) , e ) ; return false ; } if ( ! file . isDirectory ( ) ) return false ; File [ ] files = file . listFiles ( ) ; for ( File f : files ) { filter . accept ( new FileResource ( this , path + f . getName ( ) , f ) ) ; } return true ; }
If the path denotes a directory, then it will return all resources that are contained in the
directory.

@param path   the path to the resource
@param filter the filter to include only some resources in the result
@return <code>true</code> if it was a directory, <code>false</code> otherwise
If the path denotes a directory then it will return all resources that are contained in the directory .