public class FileUtilTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
FileUtilTask() |
Modifier and Type | Method and Description |
---|---|
void |
addCanread(ise.antelope.tasks.typedefs.file.CanRead op)
Is the file readable?
|
void |
addCanwrite(ise.antelope.tasks.typedefs.file.CanWrite op)
Is the file writable?
|
void |
addFilecount(ise.antelope.tasks.typedefs.file.FileCount op)
How many files are in the directory?
|
void |
addFilelength(ise.antelope.tasks.typedefs.file.FileLength op)
What is the length of the file?
|
void |
addFileop(ise.antelope.tasks.typedefs.file.FileOp op) |
void |
addIsdirectory(ise.antelope.tasks.typedefs.file.IsDirectory op)
Is the file a directory?
|
void |
addIsfile(ise.antelope.tasks.typedefs.file.IsFile op)
Is the file a file?
|
void |
addIshidden(ise.antelope.tasks.typedefs.file.IsHidden op)
Is the file hidden?
|
void |
addLastmodified(ise.antelope.tasks.typedefs.file.LastModified op)
When was the file last modified?
|
void |
addLineCount(ise.antelope.tasks.typedefs.file.FileLineCount op)
How many lines are in the file?
|
void |
addListFiles(ise.antelope.tasks.typedefs.file.FileList op)
What files are in the directory?
|
void |
execute()
While multiple ops could be added, only the first one is executed.
|
void |
setFile(java.io.File f) |
void |
setProperty(java.lang.String name) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setFile(java.io.File f)
f
- the file in questionpublic void setProperty(java.lang.String name)
name
- where to put the answerpublic void addFileop(ise.antelope.tasks.typedefs.file.FileOp op)
public void addCanread(ise.antelope.tasks.typedefs.file.CanRead op)
public void addCanwrite(ise.antelope.tasks.typedefs.file.CanWrite op)
public void addFilecount(ise.antelope.tasks.typedefs.file.FileCount op)
public void addIsdirectory(ise.antelope.tasks.typedefs.file.IsDirectory op)
public void addIsfile(ise.antelope.tasks.typedefs.file.IsFile op)
public void addIshidden(ise.antelope.tasks.typedefs.file.IsHidden op)
public void addFilelength(ise.antelope.tasks.typedefs.file.FileLength op)
public void addLastmodified(ise.antelope.tasks.typedefs.file.LastModified op)
public void addListFiles(ise.antelope.tasks.typedefs.file.FileList op)
public void addLineCount(ise.antelope.tasks.typedefs.file.FileLineCount op)
public void execute()
execute
in class org.apache.tools.ant.Task