|
||||||||||
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(File file)
Convenience constructor. |
|
PropertiesPropertiesAdapter(InputStream inputStream)
Constructor. |
|
PropertiesPropertiesAdapter(URL url)
Convenience constructor. |
Method Summary | |
---|---|
Map<String,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(InputStream inputStream)
inputStream
- input stream to load properties from; cannot be null
org.ops4j.lang.NullArgumentException
- - If input stream is nullpublic PropertiesPropertiesAdapter(File file) throws FileNotFoundException
file
- file containing properties
FileNotFoundException
- - If file does not exist or an input stream cannot be generated out of it
org.ops4j.lang.NullArgumentException
- - If file is nullpublic PropertiesPropertiesAdapter(URL url) throws IOException
url
- url targetting properties
IOException
- - If an input stream cannot be generated out of the url
org.ops4j.lang.NullArgumentException
- - If url is nullMethod Detail |
---|
public Map<String,Object> getProperties()
getProperties
in interface PropertiesAdapter
PropertiesAdapter.getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |