on ‎2006 Oct 04 9:00 AM
Hi all
I am making an application using CAF. My application has some properties which are used to control the application.
I can store these properties and their values in XML file and can use it in my application. Is there any other way to handle this in CAF?
Request clarification before answering.
In this case "C" is not configurable parameter, but just calculatable. So, implement additional method for this parameter, like this:
public static String getC()
{
if (A.equals(X) && B.equals(Y))
{
return CONSTANT_Z ;
}
else if (A.equals(Y) && B.equals(X))
{
return CONSTANT_U ;
}
else ....
}
Best regards,
Aliaksei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.