|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a command which produce elements of parsed data from a text output of the command using a regular expression.
Method Summary | |
void |
addRegexErrorListener(RegexErrorListener listener)
Add a text listener to the error output of the command. |
void |
addRegexOutputListener(RegexOutputListener listener)
Add a text listener to the standard output of the command. |
String |
getErrorRegex(String regex)
Get the regular expression to parse the error output. |
String |
getStandardRegex(String regex)
Get the regular expression to parse the standard output. |
void |
removeRegexErrorListener(RegexErrorListener listener)
Remove a text listener from the error output of the command. |
void |
removeRegexOutputListener(RegexOutputListener listener)
Remove a text listener from the standard output of the command. |
void |
setErrorRegex(String regex)
Set the regular expression to parse the error output. |
void |
setStandardRegex(String regex)
Set the regular expression to parse the standard output. |
Methods inherited from interface org.netbeans.api.vcs.commands.Command |
execute, getApplicableFiles, getDisplayName, getFiles, getName, isExpertMode, isGUIMode, setExpertMode, setFiles, setGUIMode |
Method Detail |
public void setStandardRegex(String regex)
regex
- The regular expressionpublic String getStandardRegex(String regex)
public void setErrorRegex(String regex)
regex
- The regular expressionpublic String getErrorRegex(String regex)
public void addRegexOutputListener(RegexOutputListener listener)
public void removeRegexOutputListener(RegexOutputListener listener)
public void addRegexErrorListener(RegexErrorListener listener)
public void removeRegexErrorListener(RegexErrorListener listener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |