kr.co.hit.live.config.impl
Class XMLConfiguratorImpl
java.lang.Object
kr.co.hit.live.config.impl.PropertiesConfiguratorImpl
kr.co.hit.live.config.impl.XMLConfiguratorImpl
- All Implemented Interfaces:
- Configurator
public class XMLConfiguratorImpl
- extends PropertiesConfiguratorImpl
Configurator의 XML로 구성된 파일을 처리하는 implement class
Properties 클래스이 loadFromXML() 메소드를 사용하여 XML 파일을 로딩한다.
- Since:
- 4.0
- Version:
- $Revision: 1.1 $ $Date: 2006/09/26 08:20:19 $
- Author:
- 김형도
|
Method Summary |
void |
doConfigure(InputStream stream)
ConfiguratorFactory로 부터 파라메터로 받은 configuration file의
InputStream을 읽어서 메모리에 적재하는 초기화 로직. |
| Methods inherited from class kr.co.hit.live.config.impl.PropertiesConfiguratorImpl |
clear, getBoolean, getBoolean, getInt, getInt, getKeySet, getLong, getLong, getPath, getString, getString, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLConfiguratorImpl
public XMLConfiguratorImpl()
doConfigure
public void doConfigure(InputStream stream)
throws ConfiguratorException
- Description copied from interface:
Configurator
ConfiguratorFactory로 부터 파라메터로 받은 configuration file의
InputStream을 읽어서 메모리에 적재하는 초기화 로직.
- Specified by:
doConfigure in interface Configurator- Overrides:
doConfigure in class PropertiesConfiguratorImpl
- Parameters:
stream - configuration file의 stream 오브젝트.
- Throws:
ConfiguratorException - 읽혀지는 InputStream의 IOException 발생시.
Copyright © 2014. All Rights Reserved.