|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Formatter
Formatters are helpers capable to format other objects for FFDC purposes. Formatters can be registered dynamically with FFDC. A formatter can provide formatting for instances of one ore more types, or classes.
Method Summary | |
---|---|
void |
formatTo(java.lang.Object objectToFormat,
IncidentStream incidentStream)
Write the submitted object to format on the submitted incident stream |
java.lang.String[] |
getSupportedTypeNames()
Return the supported type names. |
boolean |
isSupported(java.lang.Class<?> clazz)
Check if the submitted type is supported |
Method Detail |
---|
void formatTo(java.lang.Object objectToFormat, IncidentStream incidentStream) throws java.lang.IllegalArgumentException
objectToFormat
- incidentStream
-
java.lang.IllegalArgumentException
java.lang.String[] getSupportedTypeNames()
somepackage
Package/subpackage wildcarding is not supported.
Implementors must avoid loading the classes corresponding the names.
boolean isSupported(java.lang.Class<?> clazz)
clazz
- the type to be checked
clazz
is supported, false otherwise
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |