Package | Description |
---|---|
org.apache.wicket.protocol.http.mock | |
org.apache.wicket.util.file |
File utilities.
|
org.apache.wicket.util.resource |
Base support for resources.
|
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Method and Description |
---|---|
void |
MockHttpServletRequest.addFile(String fieldName,
File file,
String contentType)
Add an uploaded file to the request.
|
Modifier and Type | Class and Description |
---|---|
class |
Folder
This folder subclass provides some type safety and extensibility for "files" that hold other
files.
|
Modifier and Type | Method and Description |
---|---|
File |
File.file(String name) |
File[] |
Folder.getFiles() |
File[] |
Folder.getFiles(Folder.FileFilter filter) |
File[] |
Folder.getNestedFiles() |
File[] |
Folder.getNestedFiles(Folder.FileFilter filter)
Gets files in this folder matching a given filter recursively.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Folder.FileFilter.accept(File file) |
int |
File.write(File file)
Writes the given file to this one
|
Constructor and Description |
---|
File(File parent,
String child)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
File |
FileResourceStream.getFile() |
Constructor and Description |
---|
FileResourceStream(File file)
Constructor.
|
FileSystemResourceStream(File file)
Constructor.
|
ZipResourceStream(File dir)
Construct.
|
ZipResourceStream(File dir,
boolean recursive)
Construct.
|
Modifier and Type | Method and Description |
---|---|
FormTester |
FormTester.setFile(String formComponentId,
File file,
String contentType)
Sets the
File on a FileUploadField . |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.