|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openide.compiler.ExternalCompiler.ErrorExpression
Encapsulates several properties needed for processing the error output of an external compiler.
Constructor Summary | |
ExternalCompiler.ErrorExpression(String name,
String errordesc,
int filepos,
int linepos,
int columnpos,
int descpos)
Create an error expression. |
Method Summary | |
Object |
clone()
|
boolean |
equals(Object o)
|
int |
getColumnPos()
Get the column-number backreference. |
int |
getDescriptionPos()
Get the description backreference. |
String |
getErrorExpression()
Get the error regexp. |
int |
getFilePos()
Get the filename backreference. |
int |
getLinePos()
Get the line-number backreference. |
String |
getName()
Get the display name. |
int |
hashCode()
|
void |
setColumnPos(int i)
Set the column-number backreference. |
void |
setDescriptionPos(int i)
Set the description backreference. |
void |
setErrorExpression(String s)
Set the error regexp. |
void |
setFilePos(int i)
Set the filename backreference. |
void |
setLinePos(int i)
Set the line-number backreference. |
void |
setName(String d)
Set the display name. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExternalCompiler.ErrorExpression(String name, String errordesc, int filepos, int linepos, int columnpos, int descpos)
name
- display nameerrordesc
- Perl5-style regular expression which should match lines containing error outputfilepos
- index of backreference containing the filename of the error, or -1
if nonelinepos
- index of backreference containing the line number of the error, or -1
if nonecolumnpos
- index of backreference containing the column number of the error, or -1
if nonedescpos
- index of backreference containing the description of the error, or -1
if noneMethod Detail |
public Object clone()
clone
in class Object
public String getName()
public void setName(String d)
d
- the new namepublic String getErrorExpression()
public void setErrorExpression(String s)
d
- the new regexppublic int getFilePos()
-1
for nonepublic void setFilePos(int i)
d
- the new index (-1
to disable)public int getLinePos()
-1
for nonepublic void setLinePos(int i)
d
- the new index (-1
to disable)public int getColumnPos()
-1
for nonepublic void setColumnPos(int i)
d
- the new index (-1
to disable)public int getDescriptionPos()
-1
for nonepublic void setDescriptionPos(int i)
d
- the new index (-1
to disable)public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |