public class FileItem extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
destName
Sets the destination filename in the outputDirectory.
|
private String |
outputDirectory
Sets the output directory relative to the root of the root directory of the archive.
|
private String |
source
Sets the absolute or relative path from the project's directory of the file to be included in the archive.
|
| Constructor and Description |
|---|
FileItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestName()
Get sets the destination filename in the outputDirectory.
|
String |
getOutputDirectory()
Get sets the output directory relative to the root of the root directory of the archive.
|
String |
getSource()
Get sets the absolute or relative path from the project's directory of the file to be included in the archive.
|
FileItem |
setDestName(String destName)
Set sets the destination filename in the outputDirectory.
|
FileItem |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root of the root directory of the archive.
|
FileItem |
setSource(String source)
Set sets the absolute or relative path from the project's directory of the file to be included in the archive.
|
private String source
private String outputDirectory
private String destName
public String getDestName()
public String getOutputDirectory()
null meaning the archive's rootpublic String getSource()
public FileItem setDestName(String destName)
destName - the file nameFileItempublic FileItem setOutputDirectory(String outputDirectory)
outputDirectory - the output directoryFileItemCopyright © 2018. All rights reserved.