public class FileList extends DataType
| Modifier and Type | Class and Description |
|---|---|
static class |
FileList.FileName
Inner class corresponding to the <file> nested element.
|
| Modifier | Constructor and Description |
|---|---|
|
FileList()
The default constructor.
|
protected |
FileList(FileList filelist)
A copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredFile(FileList.FileName name)
Add a nested <file> nested element.
|
File |
getDir() |
String[] |
getFiles()
Returns the list of files represented by this FileList.
|
void |
setDir(File dir)
Set the dir attribute.
|
void |
setFiles(String filenames)
Set the filenames attribute.
|
getDescription, isChecked, noChildrenAllowed, setChecked, setDescription, tooManyAttributespublic FileList()
protected FileList(FileList filelist)
filelist - a FileList valuepublic void setDir(File dir) throws Exception
dir - the directory this filelist is relative to.Exception - if an error occurspublic File getDir()
public void setFiles(String filenames)
filenames - a string contains filenames, separated by , or
by whitespace.public String[] getFiles() throws Exception
p - the current projectExceptionpublic void addConfiguredFile(FileList.FileName name) throws Exception
name - a configured file element with a name.ExceptionCopyright © 2001–2025. All rights reserved.