|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.util.Report
public class Report
Manages a report or log. The class keeps the report in memory and keeps track of the number of warnings and errors that have been logged.
| Field Summary | |
|---|---|
static int |
TRUNCATE_LINE
The line number where the report is truncated. |
| Constructor Summary | |
|---|---|
Report()
Create a new empty report. |
|
| Method Summary | |
|---|---|
void |
addError(java.lang.String text)
Add an error message to the report. |
void |
addMessage(java.lang.String text)
Add a message to the report. |
void |
addWarning(java.lang.String text)
Add a warning message to the report. |
int |
getErrorCount()
Get the number of errors logged. |
java.lang.String |
getText()
Get the report text. |
int |
getWarningCount()
Get the number of warnings logged. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int TRUNCATE_LINE
| Constructor Detail |
|---|
public Report()
| Method Detail |
|---|
public void addMessage(java.lang.String text)
text - text of messagepublic void addWarning(java.lang.String text)
text - text of messagepublic void addError(java.lang.String text)
text - text of messagepublic java.lang.String getText()
public int getWarningCount()
public int getErrorCount()
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||