Package | Description |
---|---|
org.apache.wicket.settings | |
org.apache.wicket.util.file |
File utilities.
|
Modifier and Type | Method and Description |
---|---|
IFileCleaner |
ResourceSettings.getFileCleaner() |
Modifier and Type | Method and Description |
---|---|
ResourceSettings |
ResourceSettings.setFileCleaner(IFileCleaner fileUploadCleaner)
Sets a cleaner that can be used to remove files asynchronously.
|
Modifier and Type | Class and Description |
---|---|
class |
FileCleaner
Default implementation of
IFileCleaner that uses Apache commons-io
FileCleaningTracker to track and clean the temporary created files. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Files.removeAsync(File file,
IFileCleaner fileCleaner)
Schedules a file for removal asynchronously.
|
static boolean |
Files.removeFolderAsync(File folder,
IFileCleaner fileCleaner)
Schedules a folder and all files inside it for asynchronous removal.
|
Constructor and Description |
---|
FileCleanerTrackerAdapter(IFileCleaner fileCleaner)
Creates an adaptor for a
fileCleaner |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.