congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.jfree.base.config
Code IndexAdd Tabnine to your IDE (free)

How to use org.jfree.base.config

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

origin: jfree/jcommon

/**
 * The new configuartion will be inserted into the list of report
 * configuration, so that this configuration has the given report
 * configuration instance as parent.
 *
 * @param config the new report configuration.
 */
public void insertConfiguration(final HierarchicalConfiguration config)
{
 config.setParentConfig(getParentConfig());
 setParentConfig(config);
}
origin: jfree/jcommon

/**
 * Load the properties in the given file.
 *
 * @param resourceName  the file name.
 */
public void load(final String resourceName)
{
 load(resourceName, PropertyFileConfiguration.class);
}
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 getConfigProperty(key, null);
}
origin: jfree/jcommon

/**
 * Sets the log target.
 *
 * @param logTarget  the new log target.
 */
public static void setLogTarget(final String logTarget)
{
  BaseBoot.getConfiguration().setConfigProperty (LOGTARGET, logTarget);
}
origin: org.jfree/jcommon

  /**
   * The new configuartion will be inserted into the list of report configuration,
   * so that this configuration has the given report configuration instance as parent.
   *
   * @param config the new report configuration.
   */
  public void insertConfiguration(final HierarchicalConfiguration config) {
    super.insertConfiguration(config);
  }
}
origin: jfree/jcommon

/**
 * Helper method for serialization.
 *
 * @param out the output stream where to write the object.
 * @throws java.io.IOException if errors occur while writing the stream.
 */
private void writeObject(final ObjectOutputStream out)
  throws IOException
{
 out.defaultWriteObject();
 if (isParentSaved() == false)
 {
  out.writeBoolean(false);
 }
 else
 {
  out.writeBoolean(true);
  out.writeObject(this.parentConfiguration);
 }
}
origin: org.jfree/jcommon

/**
 * The new configuartion will be inserted into the list of report
 * configuration, so that this configuration has the given report
 * configuration instance as parent.
 *
 * @param config the new report configuration.
 */
public void insertConfiguration(final HierarchicalConfiguration config)
{
 config.setParentConfig(getParentConfig());
 setParentConfig(config);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the log target.
 *
 * @param logTarget  the new log target.
 */
public static void setLogTarget(final String logTarget)
{
  BaseBoot.getConfiguration().setConfigProperty (LOGTARGET, logTarget);
}
origin: org.jfree/jcommon

/**
 * Load the properties in the given file.
 *
 * @param resourceName  the file name.
 */
public void load(final String resourceName)
{
 load(resourceName, PropertyFileConfiguration.class);
}
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 getConfigProperty(key, null);
}
origin: jfree/jcommon

  /**
   * The new configuartion will be inserted into the list of report configuration,
   * so that this configuration has the given report configuration instance as parent.
   *
   * @param config the new report configuration.
   */
  public void insertConfiguration(final HierarchicalConfiguration config) {
    super.insertConfiguration(config);
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Helper method for serialization.
 *
 * @param out the output stream where to write the object.
 * @throws java.io.IOException if errors occur while writing the stream.
 */
private void writeObject(final ObjectOutputStream out)
  throws IOException
{
 out.defaultWriteObject();
 if (isParentSaved() == false)
 {
  out.writeBoolean(false);
 }
 else
 {
  out.writeBoolean(true);
  out.writeObject(parentConfiguration);
 }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * The new configuartion will be inserted into the list of report
 * configuration, so that this configuration has the given report
 * configuration instance as parent.
 *
 * @param config the new report configuration.
 */
public void insertConfiguration(final HierarchicalConfiguration config)
{
 config.setParentConfig(getParentConfig());
 setParentConfig(config);
}
origin: org.jfree/jcommon

/**
 * Sets the log target.
 *
 * @param logTarget  the new log target.
 */
public static void setLogTarget(final String logTarget)
{
  BaseBoot.getConfiguration().setConfigProperty (LOGTARGET, logTarget);
}
origin: org.jfree/com.springsource.org.jfree

public void load(final String resourceName)
{
 load(resourceName, PropertyFileConfiguration.class);
}
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 getConfigProperty(key, null);
}
origin: org.jfree/com.springsource.org.jfree

  /**
   * The new configuartion will be inserted into the list of report configuration,
   * so that this configuration has the given report configuration instance as parent.
   *
   * @param config the new report configuration.
   */
  public void insertConfiguration(final HierarchicalConfiguration config) {
    super.insertConfiguration(config);
  }
}
origin: jfree/jcommon

/**
 * Sets the flag that disables logging.
 * <p>
 * To switch off logging globally, you can use the following code:
 * <p>
 * <code>ReportConfiguration.getGlobalConfig().setDisableLogging(true);</code>
 *
 * @param disableLogging  the flag.
 */
public static void setDisableLogging(final boolean disableLogging)
{
 BaseBoot.getConfiguration().setConfigProperty
     (DISABLE_LOGGING, String.valueOf(disableLogging));
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Sets the flag that disables logging.
 * <p>
 * To switch off logging globally, you can use the following code:
 * <p>
 * <code>ReportConfiguration.getGlobalConfig().setDisableLogging(true);</code>
 *
 * @param disableLogging  the flag.
 */
public static void setDisableLogging(final boolean disableLogging)
{
 BaseBoot.getConfiguration().setConfigProperty
     (DISABLE_LOGGING, String.valueOf(disableLogging));
}
origin: org.jfree/jcommon

/**
 * Sets the flag that disables logging.
 * <p>
 * To switch off logging globally, you can use the following code:
 * <p>
 * <code>ReportConfiguration.getGlobalConfig().setDisableLogging(true);</code>
 *
 * @param disableLogging  the flag.
 */
public static void setDisableLogging(final boolean disableLogging)
{
 BaseBoot.getConfiguration().setConfigProperty
     (DISABLE_LOGGING, String.valueOf(disableLogging));
}
org.jfree.base.config

Most used classes

  • HierarchicalConfiguration
    A hierarchical configuration. Such a configuration can have one or more parent configurations provid
  • ModifiableConfiguration
    A modifiable configuration.
  • PropertyFileConfiguration
    A report configuration that reads its values from an arbitary property file.
  • SystemPropertyConfiguration
    A property configuration based on system properties.
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