类 FileFactoryConfiguration
java.lang.Object
org.apache.velocity.tools.config.Configuration
org.apache.velocity.tools.config.CompoundConfiguration<ToolboxConfiguration>
org.apache.velocity.tools.config.FactoryConfiguration
org.apache.velocity.tools.config.FileFactoryConfiguration
- 所有已实现的接口:
Comparable<Configuration>
Provides support for reading a configuration file from a specified path.
- 版本:
- $Id: XmlFactoryConfiguration.java 511959 2007-02-26 19:24:39Z nbubna $
- 作者:
- Nathan Bubna
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.apache.velocity.tools.config.FactoryConfiguration
addConfiguration, addData, addSource, addToolbox, createFactory, equals, getData, getData, getData, getSource, getSources, getToolbox, getToolboxes, hasData, hashCode, removeData, removeToolbox, setData, setSource, setToolboxes, toString, toString, validate从类继承的方法 org.apache.velocity.tools.config.CompoundConfiguration
addChild, addConfiguration, appendChildren, getChild, getChildren, hasChildren, removeChild, setChildren从类继承的方法 org.apache.velocity.tools.config.Configuration
addConfiguration, addProperty, appendProperties, compareTo, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
-
构造器详细资料
-
FileFactoryConfiguration
-
-
方法详细资料
-
readImpl
Reads an configuration from an
URL.- 参数:
url- the InputStream to read from- 抛出:
IOException- if a problem occurs
-
read
Reads a configuration file from the specified file path and sets up the configuration from that. If the file does not exist, a
ResourceNotFoundExceptionwill be thrown.- 参数:
path- the path to the file to be read from
-
read
-
read
-
read
-
read
-
findURL
-
read
-