com.jdon.util
类 FileLocator
java.lang.Object
com.jdon.util.FileLocator
public class FileLocator
- extends Object
the locator for configure file
- 作者:
- banq
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileLocator
public FileLocator()
getConfPathXmlFile
public String getConfPathXmlFile(String filePathName)
- com.jdon.sample.xxx.xml ==>
com/jdon/sample/xxx.xml
- 参数:
filePathName -
- 返回:
- filename's string
getConfPathXmlStream
public InputStream getConfPathXmlStream(String filePathName)
- same as getConfPathXmlFile
- 参数:
filePathName -
- 返回:
- the InputStream intance
getConfFile
public String getConfFile(String fileName)
getConfStream
public InputStream getConfStream(String fileName)
Copyright © 2013. All Rights Reserved.