|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.log.format.PatternFormatter
public class PatternFormatter
로그로 출력될 포멧 각 구성요소를 나타내는 클래스이다.
| Constructor Summary | |
|---|---|
PatternFormatter()
|
|
| Method Summary | |
|---|---|
void |
format(StringBuilder sbuf,
Object obj)
주어진 Object를 사용하여 포멧된 내용을 sbuf에 담는다. |
void |
format(StringBuilder sbuf,
Object obj1,
Object obj2)
주어진 Object들을 사용항 포멧된 내용을 sbuf에 담는다. |
String |
formatMessage(Object obj1)
실제 포매팅 작업을 수행한다. |
String |
formatMessage(Object obj1,
Object obj2)
실제 포매팅 작업을 수행한다. |
PatternFormatter |
next()
연결된 다음 객체를 반환한다. |
void |
setNext(PatternFormatter next)
자신의 다음 객체를 설정한다. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternFormatter()
| Method Detail |
|---|
public PatternFormatter next()
public void setNext(PatternFormatter next)
next -
public void format(StringBuilder sbuf,
Object obj)
sbuf - obj -
public void format(StringBuilder sbuf,
Object obj1,
Object obj2)
sbuf - obj1 - obj2 -
public String formatMessage(Object obj1,
Object obj2)
obj1 - obj2 -
public String formatMessage(Object obj1)
obj1 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||