Tabnine Logo
PropertyFileConfiguration.getConfiguration
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * 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

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

Popular methods of PropertyFileConfiguration

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 14 Best Plugins for Eclipse
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