public class AbstractConfigureArchiveAntTask
extends org.apache.tools.ant.Task
| Modifier and Type | Field and Description |
|---|---|
protected String |
file
Ant task attribute 'file' locating the archive to configure.
|
protected String |
outputFile
Ant task attribute 'outputFile' defined the filename of the archive
configured.
|
protected boolean |
overwriteOutputFile
Overwrite the output archive
|
| Constructor and Description |
|---|
AbstractConfigureArchiveAntTask() |
| Modifier and Type | Method and Description |
|---|---|
protected static File |
downloadURL(URL componentURL)
Download the given URL into a File.
|
void |
execute() |
String |
getFile()
File getter.
|
String |
getOutputFile()
OutputFile getter.
|
boolean |
isOverwriteOutputFile() |
void |
setFile(String file)
File setter.
|
void |
setOutputFile(String outputFile)
OutputFile setter.
|
void |
setOverwriteOutputFile(boolean overwriteOutputFile) |
protected static URL |
validateFileParameter(String fileParameter,
String paramaterName)
Validate the file parameter.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected String file
protected String outputFile
protected boolean overwriteOutputFile
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected static final File downloadURL(URL componentURL) throws IOException
componentURL - IOExceptionprotected static final URL validateFileParameter(String fileParameter, String paramaterName) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic String getFile()
public void setFile(String file)
file - public String getOutputFile()
public void setOutputFile(String outputFile)
outputFile - public boolean isOverwriteOutputFile()
public void setOverwriteOutputFile(boolean overwriteOutputFile)
overwriteOutputFile - the overwriteOutputFile to setCopyright © 2005-2015 Linagora. All Rights Reserved.