/** * Returns an enumeration of the property keys. * * @return An enumeration of the property keys. */ public Enumeration getConfigProperties() { return keys(); }
/** * Returns an enumeration of the property keys. * * @return An enumeration of the property keys. */ public Enumeration getConfigProperties() { return keys(); }
public Enumeration getConfigProperties() { return keys(); }
/** * Searches all property keys that start with a given prefix. * * @param prefix the prefix that all selected property keys should share * @return the properties as iterator. */ public Iterator findPropertyKeys(final String prefix) { final TreeSet collector = new TreeSet(); final Enumeration enum1 = keys(); while (enum1.hasMoreElements()) { final String key = (String) enum1.nextElement(); if (key.startsWith(prefix)) { if (collector.contains(key) == false) { collector.add(key); } } } return Collections.unmodifiableSet(collector).iterator(); }
/** * Searches all property keys that start with a given prefix. * * @param prefix the prefix that all selected property keys should share * @return the properties as iterator. */ public Iterator findPropertyKeys(final String prefix) { final TreeSet collector = new TreeSet(); final Enumeration enum1 = keys(); while (enum1.hasMoreElements()) { final String key = (String) enum1.nextElement(); if (key.startsWith(prefix)) { if (collector.contains(key) == false) { collector.add(key); } } } return Collections.unmodifiableSet(collector).iterator(); }
/** * Searches all property keys that start with a given prefix. * * @param prefix the prefix that all selected property keys should share * @return the properties as iterator. */ public Iterator findPropertyKeys(final String prefix) { final TreeSet collector = new TreeSet(); final Enumeration enum1 = keys(); while (enum1.hasMoreElements()) { final String key = (String) enum1.nextElement(); if (key.startsWith(prefix)) { if (collector.contains(key) == false) { collector.add(key); } } } return Collections.unmodifiableSet(collector).iterator(); }