public VirtualFile resolve(String relativeStr){
  File relativeFile=null;
  if (FileUtils.isDirectory(f)) {
    relativeFile=FileUtil.openFile(f,relativeStr);
  }
 else   if (FileUtils.isFile(f)) {
    relativeFile=FileUtil.openFile(f.getParentFile(),relativeStr);
  }
  VirtualFile result=null;
  if (relativeFile != null && FileUtils.exists(relativeFile)) {
    result=new LocalFile(relativeFile);
  }
  if ((result != null) && Trace.pathResolver) {
    Trace.trace("LocalFile.resolve: resolved " + relativeStr + " to "+ result.getName());
  }
  return result;
}

public VirtualFile resolve ( String relativeStr ) { File relativeFile = null ; if ( FileUtils . isDirectory ( f ) ) { relativeFile = FileUtil . openFile ( f , relativeStr ) ; } else if ( FileUtils . isFile ( f ) ) { relativeFile = FileUtil . openFile ( f . getParentFile ( ) , relativeStr ) ; } VirtualFile result = null ; if ( relativeFile != null && FileUtils . exists ( relativeFile ) ) { result = new LocalFile ( relativeFile ) ; } if ( ( result != null ) && Trace . pathResolver ) { Trace . trace ( "LocalFile.resolve: resolved " + relativeStr + " to " + result . getName ( ) ) ; } return result ; }
return an instance of this interface which represents the specified relative path .
