| Constructor and Description |
|---|
Delete(String path,
Boolean skipTrash)
Creates a new
Delete object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
Returns the path of the item to be deleted.
|
Boolean |
getSkipTrash()
Returns whether the trash should be skipped when deleting the items.
|
public Delete(String path, Boolean skipTrash)
Delete object.path - The path of the file or directory to be deleted.skipTrash - true if the deleted items should NOT be moved to the trash but deleted completely;
false if the items should be moved to trash instead of deleting them conpletely.public String getPath()
public Boolean getSkipTrash()
true if the deleted items should NOT be moved to the trash but deleted completely;
false if the items should be moved to trash instead of deleting them conpletely.Copyright © 2021 Apache Software Foundation. All rights reserved.