kr.co.hit.live.log.format
Class EnvironmentValueFormatter

java.lang.Object
  extended by kr.co.hit.live.log.format.PatternFormatter
      extended by kr.co.hit.live.log.format.EnvironmentValueFormatter

public class EnvironmentValueFormatter
extends PatternFormatter

환경 변수 값을 사용하는 PatterFormatter 구현 클래스이다.

Author:
김형도

Constructor Summary
EnvironmentValueFormatter(String key)
           
 
Method Summary
 void format(StringBuilder sbuf, Object obj1)
          주어진 Object를 사용하여 포멧된 내용을 sbuf에 담는다.
 void format(StringBuilder sbuf, Object obj1, Object obj2)
          주어진 Object들을 사용항 포멧된 내용을 sbuf에 담는다.
 
Methods inherited from class kr.co.hit.live.log.format.PatternFormatter
formatMessage, formatMessage, next, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentValueFormatter

public EnvironmentValueFormatter(String key)
Method Detail

format

public void format(StringBuilder sbuf,
                   Object obj1)
Description copied from class: PatternFormatter
주어진 Object를 사용하여 포멧된 내용을 sbuf에 담는다. 하위 클래스에서 구현한다.

Overrides:
format in class PatternFormatter

format

public void format(StringBuilder sbuf,
                   Object obj1,
                   Object obj2)
Description copied from class: PatternFormatter
주어진 Object들을 사용항 포멧된 내용을 sbuf에 담는다. 하위 클래스에서 구현한다.

Overrides:
format in class PatternFormatter


Copyright © 2014. All Rights Reserved.