if(FavoritesVFS.PROTOCOL.equals(MiscUtilities.getFileProtocol(path)))
if(MiscUtilities.isURL(path) && FavoritesVFS.PROTOCOL.equals( MiscUtilities.getProtocolOfURL(path)))
	public void delete(String path)	{		if(FavoritesVFS.PROTOCOL.equals(MiscUtilities.getFileProtocol(path)))		{			Object[] args = { path.substring(FavoritesVFS.PROTOCOL.length() + 1) };			int result = JOptionPane.showConfirmDialog(this,				jEdit.getProperty("vfs.browser.delete-favorites.message",args),				jEdit.getProperty("vfs.browser.delete-favorites.title"),				JOptionPane.YES_NO_OPTION,				JOptionPane.WARNING_MESSAGE);			if(result != JOptionPane.YES_OPTION)				return;		}		else		{			Object[] args = { path };			int result = JOptionPane.showConfirmDialog(this,				jEdit.getProperty("vfs.browser.delete-confirm.message",args),				jEdit.getProperty("vfs.browser.delete-confirm.title"),				JOptionPane.YES_NO_OPTION,				JOptionPane.WARNING_MESSAGE);			if(result != JOptionPane.YES_OPTION)				return;		}		VFS vfs = VFSManager.getVFSForPath(path);		VFSSession session = vfs.createVFSSession(path,this);		if(session == null)			return;		if(!startRequest())			return;		VFSManager.runInWorkThread(new BrowserIORequest(			BrowserIORequest.DELETE,this,			session,vfs,path,null));		endRequest();	}