All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.core.ProtectedProperties
java.lang.Object
|
+----java.util.Dictionary
|
+----java.util.Hashtable
|
+----java.util.Properties
|
+----weka.core.ProtectedProperties
- public class ProtectedProperties
- extends java.util.Properties
Simple class that extends the Properties class so that the properties are
unable to be modified.
- Version:
- $Revision: 1.2 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
ProtectedProperties(Properties)
- Creates a set of protected properties from a set of normal ones.
clear()
- Overrides a method to prevent the properties from being modified.
load(InputStream)
- Overrides a method to prevent the properties from being modified.
put(Object, Object)
- Overrides a method to prevent the properties from being modified.
putAll(Map)
- Overrides a method to prevent the properties from being modified.
remove(Object)
- Overrides a method to prevent the properties from being modified.
setProperty(String, String)
- Overrides a method to prevent the properties from being modified.
ProtectedProperties
public ProtectedProperties(java.util.Properties props)
Creates a set of protected properties from a set of normal ones.
- Parameters:
props - the properties to be stored and protected.
setProperty
public java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- setProperty in class java.util.Properties
load
public void load(java.io.InputStream inStream)
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- load in class java.util.Properties
clear
public void clear()
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- clear in class java.util.Hashtable
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- put in class java.util.Hashtable
putAll
public void putAll(java.util.Map t)
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- putAll in class java.util.Hashtable
remove
public java.lang.Object remove(java.lang.Object key)
Overrides a method to prevent the properties from being modified.
- Returns:
- never returns without throwing an exception.
- Throws:
- UnsupportedOperationException - always.
- Overrides:
- remove in class java.util.Hashtable
All Packages Class Hierarchy This Package Previous Next Index WEKA's home