| org.apache.commons.vfs.tasks.VfsTask org.apache.commons.vfs.tasks.ShowFileTask
ShowFileTask | public class ShowFileTask extends VfsTask (Code) | | An Ant task that writes the details of a file to Ant's log.
author: Adam Murdoch version: $Revision: 480428 $ $Date: 2006-11-28 22:15:24 -0800 (Tue, 28 Nov 2006) $ |
Method Summary | |
public void | execute() Executes the task. | public void | setFile(String url) The URL of the file to display. | public void | setRecursive(boolean recursive) Recursively shows the decendents of the file. | public void | setShowContent(boolean showContent) Shows the content. |
execute | public void execute() throws BuildException(Code) | | Executes the task.
|
setFile | public void setFile(String url)(Code) | | The URL of the file to display.
|
setRecursive | public void setRecursive(boolean recursive)(Code) | | Recursively shows the decendents of the file.
|
setShowContent | public void setShowContent(boolean showContent)(Code) | | Shows the content. Assumes the content is text, encoded using the
platform's default encoding.
|
|
|