public class FileList extends Object implements org.apache.wicket.util.io.IClusterable
Html5File-s.| Constructor and Description |
|---|
FileList(int numOfFiles)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Html5File |
get(int index)
Retrieves a file from the list.
|
int |
getNumOfFiles()
Returns size of the file array.
|
long |
getSize()
Returns the total byte size of the files in the list.
|
void |
set(int index,
Html5File file)
Sets a file in the list.
|
public FileList(int numOfFiles)
numOfFiles - number of files in the list, non-negativepublic void set(int index,
Html5File file)
index - the position of the file in the listfile - file to be set, not nullpublic Html5File get(int index)
index - the position of the file in the listpublic int getNumOfFiles()
public long getSize()
Copyright © 2015. All rights reserved.