|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.coin.adapter.CommonsConfigurationPropertiesAdapter
public class CommonsConfigurationPropertiesAdapter
Loads configuration properties using Apache Commons configuration. TODO implementation
| Constructor Summary | |
|---|---|
CommonsConfigurationPropertiesAdapter(java.io.File file)
Convenience constructor. |
|
CommonsConfigurationPropertiesAdapter(java.io.InputStream inputStream)
Constructor. |
|
CommonsConfigurationPropertiesAdapter(java.net.URL url)
Convenience constructor. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns a map of properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsConfigurationPropertiesAdapter(java.io.InputStream inputStream)
inputStream - input stream to load properties from; cannot be null
org.ops4j.lang.NullArgumentException - - If input stream is null
public CommonsConfigurationPropertiesAdapter(java.io.File file)
throws java.io.FileNotFoundException
file - file containing properties
java.io.FileNotFoundException - - If file does not exist or an input stream cannot be generated out of it
org.ops4j.lang.NullArgumentException - - If file is null
public CommonsConfigurationPropertiesAdapter(java.net.URL url)
throws java.io.IOException
url - url targeting properties
java.io.IOException - - If an input stream cannot be generated out of the url
org.ops4j.lang.NullArgumentException - - If url is null| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
PropertiesAdapter
getProperties in interface PropertiesAdapterPropertiesAdapter.getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||