|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.figure8.join.services.properties.ComponentPropertiesExtractor
public class ComponentPropertiesExtractor
This is an implementation of PropertiesExtractor made for Components.
Component| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_PREFIX
Constant for the default properties prefix applied during extraction |
| Constructor Summary | |
|---|---|
ComponentPropertiesExtractor()
Creates a new instance of ComponentPropertiesExtract |
|
| Method Summary | |
|---|---|
java.util.Properties |
extract(Component component)
Extract a set of properies from the given component. |
java.util.Properties |
extract(Component component,
java.lang.String prefix)
Extract a set of properties from the given component. |
java.util.Properties |
extract(java.lang.Object obj)
Extract a set of properties from the given object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_PREFIX
| Constructor Detail |
|---|
public ComponentPropertiesExtractor()
| Method Detail |
|---|
public java.util.Properties extract(Component component)
component - The component to extract properties from
public java.util.Properties extract(Component component,
java.lang.String prefix)
component - The component to extract properties fromprefix - The prefix to append on each property
public java.util.Properties extract(java.lang.Object obj)
throws InvalidParameterException
extract in interface PropertiesExtractorobj - The object to extract properties from
InvalidParameterException - if the object cannot be processed by implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||