if(!MiscUtilities.isURL(path) || MiscUtilities.getFileProtocol(path)
if(!MiscUtilities.isURL(path) || MiscUtilities.getProtocolOfURL(path)
	public void reloadDirectory(String path)	{		// because this method is called for *every* VFS update,		// we don't want to scan the tree all the time. So we		// use the following algorithm to determine if the path		// might be part of the tree:		// - if the path starts with the browser's current directory,		//   we do the tree scan		// - if the browser's directory is 'favorites:' -- we have to		//   do the tree scan, as every path can appear under the		//   favorites list		// - if the browser's directory is 'roots:' and path is on		//   the local filesystem, do a tree scan		String browserDir = browser.getDirectory();		if(browserDir.startsWith(FavoritesVFS.PROTOCOL))			reloadDirectory(rootNode,path);		else if(browserDir.startsWith(FileRootsVFS.PROTOCOL))		{			if(!MiscUtilities.isURL(path) || MiscUtilities.getFileProtocol(path)				.equals("file"))				reloadDirectory(rootNode,path);		}		else if(path.startsWith(browserDir))			reloadDirectory(rootNode,path);	}