|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.japi.lang.Properties
public class Properties
Class for working with Properties.
Method Summary | |
---|---|
static String |
getPropertyAsString(Object object,
String propertyName)
Get a property of an object. |
static void |
setPropertyFromString(Object object,
String propertyName,
String value)
Set a property of an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getPropertyAsString(Object object, String propertyName)
object
- propertyName
- setPropertyFromString(Object, String, String)
public static void setPropertyFromString(Object object, String propertyName, String value)
object
- Object to invoke setter onpropertyName
- Name of the property to get setter forvalue
- Value to set as String (conversions from java.beans
are used)getPropertyAsString(Object, String)
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |