类 Configuration
java.lang.Object
org.apache.velocity.tools.config.Configuration
- 所有已实现的接口:
Comparable<Configuration>
- 直接已知子类:
CompoundConfiguration
,ToolConfiguration
This base configuration class manages a set of Property
s
for whatever thing the instance of this class represents. When
combined with another Configuration
instance via
addConfiguration(org.apache.velocity.tools.config.Configuration)
, the Property
s 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
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addConfiguration
(Configuration config) void
addProperty
(Property property) protected void
int
compareTo
(Configuration config) boolean
getProperty
(String name) int
hashCode()
boolean
boolean
removeProperty
(String name) boolean
removeProperty
(Property property) void
setProperties
(Collection<Property> props) void
setProperty
(String name, Object value) void
setPropertyMap
(Map<String, Object> props) void
validate()
-
字段详细资料
-
properties
-
-
构造器详细资料
-
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
-