org.apache.tools.ant.taskdefs
Class LoadResource
- Cloneable
public class LoadResource
Load a resource into a property
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
addConfigured
public void addConfigured(ResourceCollection a)
Set the source resource.
a - the resource to load as a single element Resource collection.
addFilterChain
public final void addFilterChain(FilterChain filter)
Add the FilterChain element.
filter - the filter to add
setEncoding
public final void setEncoding(String encoding)
encoding - The new Encoding value
setFailonerror
public final void setFailonerror(boolean fail)
If true, fail on load error.
fail - The new Failonerror value
setProperty
public final void setProperty(String property)
Property name to save to.
property - The new Property value
setQuiet
public void setQuiet(boolean quiet)
If true, suppress the load error report and set the
the failonerror value to false.
quiet - The new Quiet value