|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.directj.jlogger.XmlFormatter
This is the xml formatter, used to format the logging information.
Constructor Summary | |
XmlFormatter()
|
Method Summary | |
boolean |
equals(java.lang.Object _obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getFooter()
Called at the output destruction. |
java.lang.String |
getHeader()
Called at the output creation. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
transform(LogRecord _record)
Transforms the given logging info with a special format. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlFormatter()
Method Detail |
public java.lang.String getHeader()
getHeader
in interface Formatter
String
- The formatter header.public java.lang.String getFooter()
getFooter
in interface Formatter
String
- The formatter footer.public java.lang.String transform(LogRecord _record)
transform
in interface Formatter
_record
- The log record, where logging information are stored.
String
- The String that has been created
using the given logging information.public boolean equals(java.lang.Object _obj)
equals
in class java.lang.Object
_obj
- The reference object with which to compare.
boolean
- True if this object is the same as the obj argument; false otherwise.public int hashCode()
hashCode
in class java.lang.Object
int
- A hash code value for this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |