com.jdon.util
类 FileLocator

java.lang.Object
  继承者 com.jdon.util.FileLocator

public class FileLocator
extends Object

the locator for configure file

作者:
banq

构造方法摘要
FileLocator()
           
 
方法摘要
 String getConfFile(String fileName)
           
 String getConfPathXmlFile(String filePathName)
          com.jdon.sample.xxx.xml ==> com/jdon/sample/xxx.xml
 InputStream getConfPathXmlStream(String filePathName)
          same as getConfPathXmlFile
 InputStream getConfStream(String fileName)
           
 
从类 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.