| Package | Description |
|---|---|
| org.apache.wicket.util.file |
File utilities.
|
| org.apache.wicket.util.upload |
Protocol independent upload utilities.
|
| 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 |
|---|
DiskFileItem(String fieldName,
String contentType,
boolean isFormField,
String fileName,
int sizeThreshold,
File repository,
IFileCleaner fileUploadCleaner)
Constructs a new
DiskFileItem instance. |
DiskFileItemFactory(IFileCleaner fileUploadCleaner)
Constructs an unconfigured instance of this class.
|
DiskFileItemFactory(int sizeThreshold,
File repository,
IFileCleaner fileUploadCleaner)
Constructs a preconfigured instance of this class.
|
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.