kr.co.hit.live.web.mapper.element
Class Output
java.lang.Object
kr.co.hit.live.web.mapper.element.Output
public class Output
- extends Object
Web Mapper 파일의 <output> 엘리먼트에 해당되는 클래스이다.
- Since:
- 4.0
- Author:
- 김형도
Output
public Output(String p,
String rowsep,
String colsep,
String type,
String encoding,
String ctype)
addTable
public void addTable(Table tbl)
getPath
public String getPath(ValueObjectAssembler vos)
- ${vo.column} 형태로 되어 있는 경우 실제 값으로 치환함.
- Parameters:
vos -
- Returns:
getPath
public String getPath()
getTableCount
public int getTableCount()
getTable
public Table getTable(int idx)
getRowSeperator
public String getRowSeperator()
getColumnSeperator
public String getColumnSeperator()
getType
public String getType()
getEncoding
public String getEncoding()
getContentType
public String getContentType()
buildFormatMap
public Map<String,Format> buildFormatMap()
- <input> 내에 정의된 <table>의 <column>들에 정의된 format 속성을
처리하기 위하여 사용할 Format 객체들을 생성한다.
java.text.Format 객체들의 메소드들은 멀티쓰레드 환경에서 동기화되지 않으므로 여러
쓰레드가 동시에 호출할 수 없기 때문에 하나의 요청에 대하여
RequestReader에서 처리하기 위하여 독립적인 한 세트를 생성해놓고 사용해야한다.
- Returns:
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.