类 Configuration
java.lang.Object
org.apache.velocity.tools.config.Configuration
- 所有已实现的接口:
Comparable<Configuration>
- 直接已知子类:
CompoundConfiguration,ToolConfiguration
This base configuration class manages a set of Propertys
for whatever thing the instance of this class represents. When
combined with another Configuration instance via
addConfiguration(org.apache.velocity.tools.config.Configuration), the Propertys of both instances are
combined.
NOTE: Though this class appears Comparable,
the compareTo(org.apache.velocity.tools.config.Configuration) method is unsupported. Proper comparison is
left up to subclasses.
- 版本:
- $Id: Configuration.java 511959 2007-02-26 19:24:39Z nbubna $
- 作者:
- Nathan Bubna
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddConfiguration(Configuration config) voidaddProperty(Property property) protected voidintcompareTo(Configuration config) booleangetProperty(String name) inthashCode()booleanbooleanremoveProperty(String name) booleanremoveProperty(Property property) voidsetProperties(Collection<Property> props) voidsetProperty(String name, Object value) voidsetPropertyMap(Map<String, Object> props) voidvalidate()
-
构造器详细资料
-
Configuration
public Configuration()
-
-
方法详细资料
-
addProperty
-
removeProperty
-
setProperty
-
removeProperty
-
hasProperties
public boolean hasProperties() -
getProperty
-
getProperties
-
getPropertyMap
-
setPropertyMap
-
setProperties
-
addConfiguration
-
validate
public void validate() -
compareTo
- 指定者:
compareTo在接口中Comparable<Configuration>
-
hashCode
public int hashCode() -
equals
-
appendProperties
-