}
break;
}
case 'D' : {
Delete delete = (Delete) item;
if ( delete.getPathType() == 'D' ) {
action = deleteDirectory( delete.getPath() );
} else {
int lastSlash = delete.getPath().lastIndexOf( '/' );
String path = delete.getPath().substring( 0,
lastSlash - 1 );
String file = delete.getPath().substring( lastSlash + 1,
delete.getPath().length() - 1 );
action = deleteFile( path,
file );
}
break;