}
protected void updateFolderState(FolderState folderState, FileObject newFile, boolean add) throws Exception
{
// Interne Datenstruktur aktualisierten
FileState fileState = (FileState) folderState.getNewFolderState().get(FileUtils.getAbsolutePath(newFile));
if (fileState != null)
folderState.getNewFolderState().remove(FileUtils.getAbsolutePath(newFile));
if (add)
folderState.addFileState2NewFolderState(newFile);