|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.opencms.report.CmsShellReport
Report class used for the shell.
It stores nothing. It just prints everthing to System.out.
| Field Summary |
| Fields inherited from interface com.opencms.report.I_CmsReport |
C_BUNDLE_NAME, C_FORMAT_DEFAULT, C_FORMAT_HEADLINE, C_FORMAT_NOTE, C_FORMAT_OK, C_FORMAT_WARNING |
| Constructor Summary | |
CmsShellReport()
Empty default constructor. |
|
| Method Summary | |
String |
getReportUpdate()
Updates this report, this processes all new output added since the last call to this method. |
boolean |
hasBrokenLinks()
Returns true if broken links where reported, false
otherwise. |
String |
key(String keyName)
Gets the localized resource string for a given message key. |
void |
print(String value)
Prints a String to the report. |
void |
print(String value,
int format)
Prints a String to the report, using the indicated formatting. |
void |
println()
Adds a line break to the report. |
void |
println(CmsPageLinks value)
Adds a CmsPageLinks object to the report The object will be stored and the output will later be processed in a special way. |
void |
println(String value)
Prints a String with line break to the report. |
void |
println(String value,
int format)
Prints a String with line break to the report, using the indicated formatting. |
void |
println(Throwable t)
Adds an Exception to the report, ensuring that the Exception content is processed to generate a valid output esp. for HTML pages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsShellReport()
Object.Object()| Method Detail |
public void println()
I_CmsReport
println in interface I_CmsReportI_CmsReport.println()public void print(String value)
I_CmsReport
print in interface I_CmsReportvalue - the String to addI_CmsReport.print(java.lang.String)public void println(String value)
I_CmsReport
println in interface I_CmsReportvalue - the String to addI_CmsReport.println(java.lang.String)
public void print(String value,
int format)
I_CmsReport
Use the contants starting with C_FORMAT from this interface
to indicate which formatting to use.
print in interface I_CmsReportvalue - the String to addformat - the formatting to use for the outputI_CmsReport.print(java.lang.String, int)
public void println(String value,
int format)
I_CmsReport
Use the contants starting with C_FORMAT from this interface
to indicate which formatting to use.
println in interface I_CmsReportvalue - the String to addformat - the formatting to use for the outputI_CmsReport.println(java.lang.String, int)public String getReportUpdate()
I_CmsReportThis is only required in case the output is written to a HTML page, if the shell output is used, this will just return an empty String.
getReportUpdate in interface I_CmsReportI_CmsReport.getReportUpdate()public void println(Throwable t)
I_CmsReportThe exception will be stored and the output will later be processed in a special way.
println in interface I_CmsReportI_CmsReport.println(java.lang.Throwable)public void println(CmsPageLinks value)
I_CmsReportThe object will be stored and the output will later be processed in a special way.
println in interface I_CmsReportvalue - the CmsPageLinks object to add to the reportI_CmsReport.println(com.opencms.linkmanagement.CmsPageLinks)public boolean hasBrokenLinks()
I_CmsReporttrue if broken links where reported, false
otherwise.
Open links where reported if at last one link was added to the report using the
I_CmsReport.println(CmsPageLinks) method.
hasBrokenLinks in interface I_CmsReporttrue if broken links where reported, false
otherwiseI_CmsReport.hasBrokenLinks()public String key(String keyName)
I_CmsReport
The internal implementation should be passing the
keyName to the class CmsMessages.
key in interface I_CmsReportkeyName - the key for the desired string
I_CmsReport.key(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||