|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.metadata.PropertyCommentProxy
@NotThreadSafe public final class PropertyCommentProxy
Proxy to load property comments on demand.
Constructor Summary | |
---|---|
PropertyCommentProxy(PropertiesContext context) Default constructor. |
Method Summary | |
---|---|
PropertyComment |
getComment(PropertyDescriptor propertyDescriptor, Locale locale) Returns the comment for the given property descriptor. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyCommentProxy(PropertiesContext context)
context
is
null
, the proxy may only server
empty property comment
instances.
context
- the properties context to fetch information from the
META-INF
folder.
Method Detail |
---|
public PropertyComment getComment(PropertyDescriptor propertyDescriptor, Locale locale)
getComment
in interface
PropertyCommentProvider
propertyDescriptor
- the descriptor for which the comment is requested. It is required that this is the same for each invocation.
locale
- the locale to select the language the comment is written in.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |