|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.introspection.Feature
cz.cuni.amis.introspection.Folder
public abstract class Folder
Interface for introspection of internal properties of object.
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.introspection.Feature |
|---|
name |
| Constructor Summary | |
|---|---|
Folder(String name)
|
|
| Method Summary | |
|---|---|
Properties |
createProperties()
Stores all folders and properties from this Folder to a Java Properties object that can be used for storing the values. |
protected Properties |
createProperties(String prefix)
Stores all folders and properties from this Folder to a Java Properties object that can be used for storing the values. |
Folder |
getFolder(String name)
|
abstract Folder[] |
getFolders()
|
abstract Property[] |
getProperties()
|
Property |
getProperty(String name)
Return property of the given name, null if no such property exists. |
void |
loadFromProperties(Properties props)
Initializes folder from the properties object. |
protected void |
loadFromProperties(Properties props,
String prefix)
Initializes folder from the properties object. |
| Methods inherited from class cz.cuni.amis.introspection.Feature |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Folder(String name)
| Method Detail |
|---|
public abstract Folder[] getFolders()
throws IntrospectionException
IntrospectionException
public abstract Property[] getProperties()
throws IntrospectionException
IntrospectionException
public Property getProperty(String name)
throws IntrospectionException
name - Name of the
IntrospectionException
public Folder getFolder(String name)
throws IntrospectionException
IntrospectionException
public Properties createProperties()
throws IntrospectionException
IntrospectionException
protected Properties createProperties(String prefix)
throws IntrospectionException
prefix - prefix should be empty for root folder or end with dot for
subfolders
IntrospectionException
public void loadFromProperties(Properties props)
throws IntrospectionException
props -
IntrospectionException
protected void loadFromProperties(Properties props,
String prefix)
throws IntrospectionException
props -
IntrospectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||