de.smartics.properties.spi.core.classpath
Class PropertiesFilesLoader

Package class diagram package PropertiesFilesLoader
java.lang.Object
  extended by de.smartics.properties.spi.core.classpath.PropertiesFilesLoader

public final class PropertiesFilesLoader
     
     
extends Object

Loads properties files found on the class path.


Constructor Summary
PropertiesFilesLoader()
           
 
Method Summary
 Set<String> getBootPropertiesFiles(Collection<URL> urls)
          Returns all boot properties that are defined to control the configuration parsing process.
 Set<String> getPropertiesFiles(Collection<URL> urls)
          Returns all files with the extension .properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesFilesLoader

public PropertiesFilesLoader()
Method Detail

getPropertiesFiles

public Set<String> getPropertiesFiles(Collection<URL> urls)
Returns all files with the extension .properties.

Parameters:
urls - the class roots to search for files that have the .properties file name extension.
Returns:
the names of properties files relative to the class path root.

getBootPropertiesFiles

public Set<String> getBootPropertiesFiles(Collection<URL> urls)
Returns all boot properties that are defined to control the configuration parsing process. Properties are stored in files matching /"META-INF/smartics-properties"/boot.properties .

Parameters:
urls - the URLs to search in.
Returns:
the names of properties files relative to the class path root.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.