public class PackageGappTask.MappingHint
extends org.apache.tools.ant.taskdefs.Property
hint element. Typically
this will be a simple <hint from="X" to="Y" />
but the MappingHint class actually extends the property task, so it
can read hints in Properties-file format using
<hint file="hints.properties" />.| Constructor and Description |
|---|
MappingHint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperty(String n,
Object vObj)
Rather than adding properties to the project, add mapping hints
to the task.
|
protected void |
addProperty(String n,
String v)
This was the pre-ant 1.8 version of addProperty, Ant 1.8 uses the
version that takes an
Object as value rather than a
String. |
void |
setAbsolute(boolean absolute)
Should files matching this hint be made absolute? If true, the
"to" value is ignored.
|
void |
setFrom(File from) |
void |
setTo(String to) |
addProperties, addText, createClasspath, execute, getClasspath, getEnvironment, getFile, getName, getPrefix, getPrefixValues, getRefid, getResource, getRuntime, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadRuntime, loadUrl, setBasedir, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setPrefixValues, setRefid, setRelative, setResource, setRuntime, setUrl, setUserProperty, setValue, setValue, toStringbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setFrom(File from)
public void setTo(String to)
public void setAbsolute(boolean absolute)
protected void addProperty(String n, String v)
Object as value rather than a
String.addProperty in class org.apache.tools.ant.taskdefs.PropertyCopyright © 2024 GATE. All rights reserved.