|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is the interface for the report classes which are used to process the output during database import and export operations.
| Field Summary | |
static String |
C_BUNDLE_NAME
The name of the property file |
static int |
C_FORMAT_DEFAULT
|
static int |
C_FORMAT_HEADLINE
|
static int |
C_FORMAT_NOTE
|
static int |
C_FORMAT_OK
|
static int |
C_FORMAT_WARNING
|
| 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. |
| Field Detail |
public static final int C_FORMAT_DEFAULT
public static final int C_FORMAT_WARNING
public static final int C_FORMAT_HEADLINE
public static final int C_FORMAT_NOTE
public static final int C_FORMAT_OK
public static final String C_BUNDLE_NAME
| Method Detail |
public void println()
public void print(String value)
value - the String to addpublic void println(String value)
value - the String to add
public void print(String value,
int format)
Use the contants starting with C_FORMAT from this interface
to indicate which formatting to use.
value - the String to addformat - the formatting to use for the output
public void println(String value,
int format)
Use the contants starting with C_FORMAT from this interface
to indicate which formatting to use.
value - the String to addformat - the formatting to use for the outputpublic void println(CmsPageLinks value)
The object will be stored and the output will later be processed in a special way.
value - the CmsPageLinks object to add to the reportpublic void println(Throwable t)
The exception will be stored and the output will later be processed in a special way.
public String getReportUpdate()
This 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.
public boolean hasBrokenLinks()
true if broken links where reported, false
otherwise.
Open links where reported if at last one link was added to the report using the
println(CmsPageLinks) method.
true if broken links where reported, false
otherwisepublic String key(String keyName)
The internal implementation should be passing the
keyName to the class CmsMessages.
keyName - the key for the desired string
CmsMessages.key(String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||