程序包 weka.core
类 ProtectedProperties
- 所有已实现的接口:
Serializable
,Cloneable
,Map<Object,
,Object> RevisionHandler
Simple class that extends the Properties class so that the properties are
unable to be modified.
- 版本:
- $Revision: 1.6 $
- 作者:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器构造器说明ProtectedProperties
(Properties props) Creates a set of protected properties from a set of normal ones. -
方法概要
修饰符和类型方法说明void
clear()
Overrides a method to prevent the properties from being modified.Returns the revision string.void
load
(InputStream inStream) Overrides a method to prevent the properties from being modified.Overrides a method to prevent the properties from being modified.void
Overrides a method to prevent the properties from being modified.Overrides a method to prevent the properties from being modified.setProperty
(String key, String value) Overrides a method to prevent the properties from being modified.从类继承的方法 java.util.Properties
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, loadFromXML, merge, propertyNames, putIfAbsent, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
构造器详细资料
-
ProtectedProperties
Creates a set of protected properties from a set of normal ones.- 参数:
props
- the properties to be stored and protected.
-
-
方法详细资料
-
setProperty
Overrides a method to prevent the properties from being modified.- 覆盖:
setProperty
在类中Properties
- 返回:
- never returns without throwing an exception.
- 抛出:
UnsupportedOperationException
- always.
-
load
Overrides a method to prevent the properties from being modified.- 覆盖:
load
在类中Properties
- 抛出:
UnsupportedOperationException
- always.
-
clear
public void clear()Overrides a method to prevent the properties from being modified.- 指定者:
clear
在接口中Map<Object,
Object> - 覆盖:
clear
在类中Properties
- 抛出:
UnsupportedOperationException
- always.
-
put
Overrides a method to prevent the properties from being modified.- 指定者:
put
在接口中Map<Object,
Object> - 覆盖:
put
在类中Properties
- 返回:
- never returns without throwing an exception.
- 抛出:
UnsupportedOperationException
- always.
-
putAll
Overrides a method to prevent the properties from being modified.- 指定者:
putAll
在接口中Map<Object,
Object> - 覆盖:
putAll
在类中Properties
- 抛出:
UnsupportedOperationException
- always.
-
remove
Overrides a method to prevent the properties from being modified.- 指定者:
remove
在接口中Map<Object,
Object> - 覆盖:
remove
在类中Properties
- 返回:
- never returns without throwing an exception.
- 抛出:
UnsupportedOperationException
- always.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-