org.apache.tools.ant.taskdefs
public class MakeUrl extends Task
UNKNOWN: category="core" name="makeurl"
Field Summary | |
---|---|
static String | ERROR_MISSING_FILE Missing file |
static String | ERROR_NO_FILES No files defined |
static String | ERROR_NO_PROPERTY No property defined |
Method Summary | |
---|---|
void | addFileSet(FileSet fileset)
a fileset of jar files to include in the URL, each
separated by the separator
|
void | addPath(Path path)
add a path to the URL. |
void | execute()
Create the url
|
void | setFile(File file)
the name of a file to be converted into a URL
|
void | setProperty(String property)
set the name of a property to fill with the URL
|
void | setSeparator(String separator)
set the separator for the multi-url option.
|
void | setValidate(boolean validate)
set this flag to trigger validation that every named file exists.
|
Parameters: fileset the fileset to be added.
Parameters: path a path value.
Throws: org.apache.tools.ant.BuildException if something goes wrong with the build
Parameters: file the file to be converted.
Parameters: property the name of the property.
Parameters: separator the separator to use.
Parameters: validate a boolean
value.