|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All classes implementing this interface must provide a public constructor
that has one Properties
instance, and a String
as
its only parameters. The string is the prefix this instance should use to
get its settings from the properties.
Example:
class Foo { public Foo(Properties properties, String prefix); // ... } Properties properties; // ... Foo foo = new Foo(properties, "org.ozoneDB.bar");
If the Foo
class has a property ".directory", then the
constructor will call properties.getProperty(prefix + ".directory")
.
Method Summary | |
java.lang.String |
getPrefix()
|
java.util.Collection |
getPropertyInfos()
Returns a Collection with all the properties this instance
supports. |
Method Detail |
public java.util.Collection getPropertyInfos()
Returns a Collection
with all the properties this instance
supports.
PropertyInfo
elementspublic java.lang.String getPrefix()
|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |