Save This Page
Home » hibernate-search-src-20081106 » org.hibernate.search.backend.configuration » [javadoc | source]
org.hibernate.search.backend.configuration
public class: MaskedProperty [javadoc | source]
java.lang.Object
   java.util.Dictionary
      java.util.Hashtable
         java.util.Properties
            org.hibernate.search.backend.configuration.MaskedProperty

All Implemented Interfaces:
    Serializable, Map, Cloneable

A wrapper to Properties, to restrict the availability of values to only those which have a key beginning with some masking String. Supported methods to enumerate the list of properties are: - propertyNames() - keySet() - keys() Other methods including methods returning Entries and values are not supported
Constructor:
 public MaskedProperty(Properties propsToMask,
    String mask) 
    Provides a view to the provided Properties hiding all keys not starting with some [mask.].
    Parameters:
    propsToMask - the Properties containing the values.
    mask -
 public MaskedProperty(Properties propsToMask,
    String mask,
    Properties propsFallBack) 
    Provides a view to the provided Properties hiding all keys not starting with some [mask.]. If no value is found then a value is returned from propsFallBack, without masking.
    Parameters:
    propsToMask -
    mask -
    propsFallBack -
Method from org.hibernate.search.backend.configuration.MaskedProperty Summary:
clear,   clone,   contains,   containsKey,   containsValue,   elements,   entrySet,   equals,   get,   getProperty,   getProperty,   hashCode,   isEmpty,   keySet,   keys,   list,   list,   load,   loadFromXML,   propertyNames,   put,   putAll,   rehash,   remove,   save,   setProperty,   size,   store,   storeToXML,   storeToXML,   toString,   values
Methods from java.util.Properties:
getProperty,   getProperty,   list,   list,   load,   load,   loadFromXML,   propertyNames,   save,   setProperty,   store,   store,   storeToXML,   storeToXML,   stringPropertyNames
Methods from java.util.Hashtable:
clear,   clone,   contains,   containsKey,   containsValue,   elements,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   keys,   put,   putAll,   remove,   size,   toString,   values
Methods from java.util.Dictionary:
elements,   get,   isEmpty,   keys,   put,   remove,   size
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.search.backend.configuration.MaskedProperty Detail:
 public  void clear() 
 public Object clone() 
 public boolean contains(Object value) 
 public boolean containsKey(Object key) 
 public boolean containsValue(Object value) 
 public Enumeration elements() 
 public Set entrySet() 
 public boolean equals(Object obj) 
 public Object get(Object key) 
 public String getProperty(String key) 
 public String getProperty(String key,
    String defaultValue) 
 public int hashCode() 
 public boolean isEmpty() 
 public Set keySet() 
 public Enumeration keys() 
 public  void list(PrintStream out) 
 public  void list(PrintWriter out) 
 public  void load(InputStream inStream) throws IOException 
 public  void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException 
 public Enumeration propertyNames() 
 public Object put(Object key,
    Object value) 
 public  void putAll(Map t) 
 protected  void rehash() 
 public Object remove(Object key) 
 public  void save(OutputStream out,
    String comments) 
 public Object setProperty(String key,
    String value) 
 public int size() 
 public  void store(OutputStream out,
    String comments) throws IOException 
 public  void storeToXML(OutputStream os,
    String comment) throws IOException 
 public  void storeToXML(OutputStream os,
    String comment,
    String encoding) throws IOException 
 public String toString() 
 public Collection values()