Results 1 to 2 of 2
Thread: IF-Condition in a String
- 07-15-2009, 03:31 PM #1
Member
- Join Date
- Jul 2009
- Posts
- 1
- Rep Power
- 0
IF-Condition in a String
Hi there!
i have conditions/rules saved in a database and i have to implement them in my java-code...
such a rule looks like this:
converting the rule is no problem ... so i can parse it so that it becomes thisJava Code:{1668} AND ({1089} OR {1090} OR {1091} OR {1102} OR {1106} OR {1253} OR {1669} OR {1670} OR {1671} OR {1672} OR {1673} OR {1674} OR {1675} OR {1676} OR {1677} OR {1678} OR {1679} OR {1680})
now i dont know how i can handle a string-variable containing such a rule...Java Code:true && (true || false || true || ..........)
can you help me?
friendly greetings,
lenaz
- 07-18-2009, 12:07 PM #2
Member
- Join Date
- Apr 2009
- Location
- Brisbane
- Posts
- 86
- Rep Power
- 0
Similar Threads
-
Best Practices of handling more number of if..elseif.. Condition
By gavaskarrathnam in forum Advanced JavaReplies: 16Last Post: 01-28-2011, 10:25 AM -
JFrame (closing under a condition)
By Java Tip in forum Java TipReplies: 0Last Post: 03-12-2008, 11:17 AM -
problem with using string in if condition
By sireesha in forum New To JavaReplies: 2Last Post: 11-20-2007, 10:40 PM


LinkBack URL
About LinkBacks

Bookmarks