Tabnine Logo
PropertyFileConfiguration
Code IndexAdd Tabnine 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)

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

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • getContentResolver (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top 15 Vim 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