|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.coin.adapter.PropertiesPropertiesAdapter
public class PropertiesPropertiesAdapter
Loads properties form an input stream of java Properties.
| Constructor Summary | |
|---|---|
PropertiesPropertiesAdapter(java.io.File file)
Convenience constructor. |
|
PropertiesPropertiesAdapter(java.io.InputStream inputStream)
Constructor. |
|
PropertiesPropertiesAdapter(java.net.URL url)
Convenience constructor. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Loads properties form the input source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesPropertiesAdapter(java.io.InputStream inputStream)
inputStream - input stream to load properties from; cannot be null
org.ops4j.lang.NullArgumentException - - If input stream is null
public PropertiesPropertiesAdapter(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 PropertiesPropertiesAdapter(java.net.URL url)
throws java.io.IOException
url - url targetting 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()
getProperties in interface PropertiesAdapterPropertiesAdapter.getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||