public class FileListSource extends Object implements ModelSource
| Constructor and Description |
|---|
FileListSource(File... f) |
FileListSource(List<File> f) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile(int index)
Returns the file at the specified index or null if this model source has
no file at this index.
|
File[] |
getFileList()
Returns the model data as a file array.
|
int |
getFileNumber()
Returns the number of files in this model.
|
Object |
getModelData()
Returns the model data as a file array.
|
private final File[] src
public FileListSource(File... f)
public Object getModelData()
getModelData in interface ModelSourcepublic File[] getFileList()
public File getFile(int index)
public int getFileNumber()