public class FileItem extends Object implements Serializable
Constructor and Description |
---|
FileItem() |
Modifier and Type | Method and Description |
---|---|
void |
addSource(String string)
Method addSource.
|
String |
getDestName()
Get sets the destination filename in the outputDirectory.
|
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
String |
getLineEnding()
Get sets the line-endings of the files in this file.
|
String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
String |
getSource()
Get sets the absolute or relative path from the module's
directory
of the file to be included in the assembly.
|
List<String> |
getSources()
Method getSources.
|
boolean |
isFiltered()
Get sets whether to determine if the file is filtered.
|
void |
removeSource(String string)
Method removeSource.
|
void |
setDestName(String destName)
Set sets the destination filename in the outputDirectory.
|
void |
setFileMode(String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setFiltered(boolean filtered)
Set sets whether to determine if the file is filtered.
|
void |
setLineEnding(String lineEnding)
Set sets the line-endings of the files in this file.
|
void |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setSource(String source)
Set sets the absolute or relative path from the module's
directory
of the file to be included in the assembly.
|
void |
setSources(List<String> sources)
Set set of absolute or relative paths from the module's
directory
of the files be combined and included in the
assembly.
|
public void addSource(String string)
string
- a string object.public String getDestName()
public String getFileMode()
public String getLineEnding()
public String getOutputDirectory()
public String getSource()
public boolean isFiltered()
public void removeSource(String string)
string
- a string object.public void setDestName(String destName)
destName
- a destName object.public void setFileMode(String fileMode)
fileMode
- a fileMode object.public void setFiltered(boolean filtered)
filtered
- a filtered object.public void setLineEnding(String lineEnding)
lineEnding
- a lineEnding object.public void setOutputDirectory(String outputDirectory)
outputDirectory
- a outputDirectory object.public void setSource(String source)
source
- a source object.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.