Tabnine Logo
DefaultConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
DefaultConfiguration
in
org.jfree.util

Best Java code snippets using org.jfree.util.DefaultConfiguration (Showing top 20 results out of 315)

origin: jfree/jcommon

/**
 * Returns the configuration property with the specified key.
 *
 * @param key the property key.
 * @return the property value.
 */
public String getConfigProperty(final String key)
{
 return getProperty(key);
}
origin: jfree/jcommon

/**
 * Returns an enumeration of the property keys.
 *
 * @return An enumeration of the property keys.
 */
public Enumeration getConfigProperties()
{
 return keys();
}
origin: jfree/jcommon

/**
 * Sets a parser configuration value.
 *
 * @param key   the key.
 * @param value the value.
 */
public void setConfigProperty(final String key, final String value) {
  if (value == null) {
    this.parserConfiguration.remove(key);
  }
  else {
    this.parserConfiguration.setProperty(key, value);
  }
}
origin: jfree/jcommon

/**
 * Returns the configuration properties.
 *
 * @return An enumeration of the configuration properties.
 */
public Enumeration getConfigProperties()
{
 return this.parserConfiguration.getConfigProperties();
}
origin: jfree/jcommon

/**
 * Returns all keys with the given prefix.
 *
 * @param prefix the prefix
 * @return the iterator containing all keys with that prefix
 */
public Iterator findPropertyKeys(final String prefix) {
  return this.parserConfiguration.findPropertyKeys(prefix);
}
origin: jfree/jcommon

/**
 * Returns the configuration property with the specified key (or the specified default value
 * if there is no such property).
 * <p/>
 * If the property is not defined in this configuration, the code will lookup the property in
 * the parent configuration.
 *
 * @param key          the property key.
 * @param defaultValue the default value.
 * @return the property value.
 */
public String getConfigProperty(final String key, final String defaultValue) {
  return this.parserConfiguration.getConfigProperty(key, defaultValue);
}
origin: jfree/jcommon

  /**
   * Returns a clone of this instance.
   *
   * @return A clone.
   *
   * @throws CloneNotSupportedException if there is a problem cloning.
   */
  public Object clone () throws CloneNotSupportedException
  {
   final FrontendDefaultHandler o = (FrontendDefaultHandler) super.clone();
   o.parserConfiguration = (DefaultConfiguration) this.parserConfiguration.clone();
   return o;
  }
}
origin: jfree/jcommon

/**
 * Default constructor.
 */
protected FrontendDefaultHandler() {
  this.parserConfiguration = new DefaultConfiguration();
  this.commentHandler = new CommentHandler();
}
origin: jfree/jcommon

 /**
  * Sets the value of a configuration property.
  *
  * @param key   the property key.
  * @param value the property value.
  */
 public void setConfigProperty(final String key, final String value)
 {
  if (value == null)
  {
   remove(key);
  }
  else
  {
   setProperty(key, value);
  }
 }
}
origin: org.jfree/jcommon

/**
 * Returns an enumeration of the property keys.
 *
 * @return An enumeration of the property keys.
 */
public Enumeration getConfigProperties()
{
 return keys();
}
origin: org.jfree/jcommon

/**
 * Returns the configuration property with the specified key.
 *
 * @param key the property key.
 * @return the property value.
 */
public String getConfigProperty(final String key)
{
 return getProperty(key);
}
origin: org.jfree/jcommon

 /**
  * Sets the value of a configuration property.
  *
  * @param key   the property key.
  * @param value the property value.
  */
 public void setConfigProperty(final String key, final String value)
 {
  if (value == null)
  {
   remove(key);
  }
  else
  {
   setProperty(key, value);
  }
 }
}
origin: org.jfree/com.springsource.org.jfree

public Enumeration getConfigProperties()
{
 return keys();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the configuration property with the specified key.
 *
 * @param key the property key.
 * @return the property value.
 */
public String getConfigProperty(final String key)
{
 return getProperty(key);
}
origin: org.jfree/com.springsource.org.jfree

 /**
  * Sets the value of a configuration property.
  *
  * @param key   the property key.
  * @param value the property value.
  */
 public void setConfigProperty(final String key, final String value)
 {
  if (value == null)
  {
   remove(key);
  }
  else
  {
   setProperty(key, value);
  }
 }
}
origin: jfree/jcommon

/**
 * 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();
}
origin: jfree/jcommon

/**
 * Returns the configuration property with the specified key (or the
 * specified default value if there is no such property).
 * <p/>
 * If the property is not defined in this configuration, the code will
 * lookup the property in the parent configuration.
 *
 * @param key          the property key.
 * @param defaultValue the default value.
 * @return the property value.
 */
public String getConfigProperty(final String key, final String defaultValue)
{
 return getProperty(key, defaultValue);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * 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();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns the configuration property with the specified key (or the
 * specified default value if there is no such property).
 * <p/>
 * If the property is not defined in this configuration, the code will
 * lookup the property in the parent configuration.
 *
 * @param key          the property key.
 * @param defaultValue the default value.
 * @return the property value.
 */
public String getConfigProperty(final String key, final String defaultValue)
{
 return getProperty(key, defaultValue);
}
origin: org.jfree/jcommon

/**
 * 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();
}
org.jfree.utilDefaultConfiguration

Javadoc

Default configuration.

Most used methods

  • getProperty
  • keys
  • remove
  • setProperty
  • <init>
    Creates an empty property list with no default values.
  • clone
  • findPropertyKeys
    Searches all property keys that start with a given prefix.
  • getConfigProperties
    Returns an enumeration of the property keys.
  • getConfigProperty
    Returns the configuration property with the specified key (or the specified default value if there i

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JLabel (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now