|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ise.antelope.tasks.Find
public class Find
Copyright 2003
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Find()
|
|
| Method Summary | |
|---|---|
void |
execute()
Do the grep |
void |
setAllmatches(boolean b)
If true, concatentates all matches into a single result, if false, only the first match is returned in the result. |
void |
setCanoneq(boolean b)
Sets the canoneq attribute for the regex. |
void |
setCaseinsensitive(boolean b)
Sets the caseinsensitive attribute for the regex. |
void |
setComments(boolean b)
Sets the comments attribute for the regex. |
void |
setDotall(boolean b)
Sets the dotall attribute for the regex. |
void |
setGroup(int g)
Set a specific group from the regex. |
void |
setIn(java.lang.String string)
Where to look. |
void |
setMultiline(boolean b)
Sets the multiline attribute for the regex. |
void |
setProperty(java.lang.String name)
Where to put the results of the search. |
void |
setRegex(java.lang.String regex)
What to look for. |
void |
setSeparator(java.lang.String s)
Uses in conjunction with setAllmatches, this string will be
placed between each match in the final result. |
void |
setUnicodecase(boolean b)
Sets the unicodecase attribute for the regex. |
void |
setUnixlines(boolean b)
|
| Methods 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, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Find()
| Method Detail |
|---|
public void setIn(java.lang.String string)
string - The new in valuepublic void setRegex(java.lang.String regex)
regex - The new regex valuepublic void setProperty(java.lang.String name)
name - The new property valuepublic void setGroup(int g)
g - The new group valuepublic void setDotall(boolean b)
b - The new dotall valuepublic void setCaseinsensitive(boolean b)
b - The new caseinsensitive valuepublic void setMultiline(boolean b)
b - The new multiline valuepublic void setUnicodecase(boolean b)
b - The new unicodecase valuepublic void setCanoneq(boolean b)
b - The new canoneq valuepublic void setComments(boolean b)
b - The new comments valuepublic void setUnixlines(boolean b)
public void setAllmatches(boolean b)
b - default is false, only show the first match.public void setSeparator(java.lang.String s)
setAllmatches, this string will be
placed between each match in the final result.
s - the separator, default is "".public void execute()
execute in class org.apache.tools.ant.Task
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||