DirectoryCache.flushCachedDirectory(path);
DirectoryCache.clearCachedDirectory(path);
	public static void sendVFSUpdate(VFS vfs, String path, boolean parent)	{		if(parent)		{			sendVFSUpdate(vfs,path,false);			sendVFSUpdate(vfs,vfs.getParentOfPath(path),false);		}		else		{			// have to do this hack until VFSPath class is written			if(path.length() != 1 && (path.endsWith("/")				|| path.endsWith(java.io.File.separator)))				path = path.substring(0,path.length() - 1);			/* we do this here, and not in an EBComponent			 * inside DirectoryCache, to simplify matters */			DirectoryCache.flushCachedDirectory(path);			synchronized(vfsUpdateLock)			{				for(int i = 0; i < vfsUpdates.size(); i++)				{					VFSUpdate msg = (VFSUpdate)vfsUpdates						.elementAt(i);					if(msg.getPath().equals(path))					{						// don't send two updates						// for the same path						return;					}				}				vfsUpdates.addElement(new VFSUpdate(path));				if(vfsUpdates.size() == 1)				{					// we were the first to add an update;					// add update sending runnable to AWT					// thread					VFSManager.runInAWTThread(new SendVFSUpdatesSafely());				}			}		}	}