de.smartics.properties.spi.core.classpath
Class PropertiesFilesLoader
java.lang.Object
de.smartics.properties.spi.core.classpath.PropertiesFilesLoader
-
public final class PropertiesFilesLoader
-
extends
Object
Loads properties files found on the class path.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesFilesLoader
public PropertiesFilesLoader()
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.