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

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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