Codota Logo
PropertyFileConfiguration
Code IndexAdd Codota to your IDE (free)

How to use
PropertyFileConfiguration
in
org.jfree.base.config

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

  • Common ways to obtain PropertyFileConfiguration
private void myMethod () {
PropertyFileConfiguration p =
  • Codota Iconnew PropertyFileConfiguration()
  • Codota IconArrayList arrayList;(PropertyFileConfiguration) arrayList.get(index)
  • Smart code suggestions by Codota
}
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/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

  = new PropertyFileConfiguration();
rootProperty.load(staticConfig, getClass());
globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
  try {
   final PropertyFileConfiguration baseProperty =
       new PropertyFileConfiguration();
   final InputStream in = url.openStream();
   baseProperty.load(in);
   in.close();
   configs.add(baseProperty);
origin: jfree/jcommon

/**
 * Loads the properties stored in the given file. This method does nothing if
 * the file does not exist or is unreadable. Appends the contents of the loaded
 * properties to the already stored contents.
 *
 * @param in the input stream used to read the properties.
 */
public void load(final InputStream in)
{
 if (in == null)
 {
  throw new NullPointerException();
 }
 try
 {
  final BufferedInputStream bin = new BufferedInputStream(in);
  final Properties p = new Properties();
  p.load(bin);
  this.getConfiguration().putAll(p);
  bin.close();
 }
 catch (IOException ioe)
 {
  Log.warn("Unable to read configuration", ioe);
 }
}
origin: org.jfree/jcommon

  = new PropertyFileConfiguration();
rootProperty.load(staticConfig, getClass());
globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
  try {
   final PropertyFileConfiguration baseProperty =
       new PropertyFileConfiguration();
   final InputStream in = url.openStream();
   baseProperty.load(in);
   in.close();
   configs.add(baseProperty);
origin: org.jfree/jcommon

/**
 * Loads the properties stored in the given file. This method does nothing if
 * the file does not exist or is unreadable. Appends the contents of the loaded
 * properties to the already stored contents.
 *
 * @param in the input stream used to read the properties.
 */
public void load(final InputStream in)
{
 if (in == null)
 {
  throw new NullPointerException();
 }
 try
 {
  final BufferedInputStream bin = new BufferedInputStream(in);
  final Properties p = new Properties();
  p.load(bin);
  this.getConfiguration().putAll(p);
  bin.close();
 }
 catch (IOException ioe)
 {
  Log.warn("Unable to read configuration", ioe);
 }
}
origin: jfree/jcommon

  = new PropertyFileConfiguration();
rootProperty.load(staticConfig, getClass());
globalConfig.insertConfiguration(rootProperty);
globalConfig.insertConfiguration(
  try {
   final PropertyFileConfiguration baseProperty =
       new PropertyFileConfiguration();
   final InputStream in = url.openStream();
   baseProperty.load(in);
   in.close();
   configs.add(baseProperty);
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: 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: org.jfree/com.springsource.org.jfree

/**
 * Loads the properties stored in the given file. This method does nothing if
 * the file does not exist or is unreadable. Appends the contents of the loaded
 * properties to the already stored contents.
 *
 * @param in the input stream used to read the properties.
 */
public void load(final InputStream in)
{
 if (in == null)
 {
  throw new NullPointerException();
 }
 try
 {
  final BufferedInputStream bin = new BufferedInputStream(in);
  final Properties p = new Properties();
  p.load(bin);
  this.getConfiguration().putAll(p);
  bin.close();
 }
 catch (IOException ioe)
 {
  Log.warn("Unable to read configuration", ioe);
 }
}
origin: org.jfree/com.springsource.org.jfree

public void load(final String resourceName)
{
 load(resourceName, PropertyFileConfiguration.class);
}
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

load(in);
origin: org.jfree/jcommon

load(in);
origin: org.jfree/com.springsource.org.jfree

load(in);
org.jfree.base.configPropertyFileConfiguration

Javadoc

A report configuration that reads its values from an arbitary property file.

Most used methods

  • <init>
    Default constructor.
  • getConfiguration
  • insertConfiguration
  • load
    Loads the properties stored in the given file. This method does nothing if the file does not exist o

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now