Package org.apache.tools.ant.taskdefs
Class LoadFile
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.LoadResource
org.apache.tools.ant.taskdefs.LoadFile
- All Implemented Interfaces:
java.lang.Cloneable
public class LoadFile extends LoadResource
Load a file into a property
- Since:
- Ant 1.5
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LoadFile() -
Method Summary
Modifier and Type Method Description voidsetSrcFile(java.io.File srcFile)Sets the file to load.Methods inherited from class org.apache.tools.ant.taskdefs.LoadResource
addConfigured, addFilterChain, execute, setEncoding, setFailonerror, setProperty, setQuietMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
LoadFile
public LoadFile()
-
-
Method Details
-
setSrcFile
public final void setSrcFile(java.io.File srcFile)Sets the file to load.- Parameters:
srcFile- The new SrcFile value
-