Conditional String to Mathematical Expression..

Hi, I want to convert the conditional String expression to mathematical expression.. For a Example.. i get input from user such as "< 1000" or "Greater than 10" or "Begin with A" , i want to execute is in this java.. not in sql.. I need some one help how to over come this
[299 byte] By [crsenthila] at [2007-10-3 5:12:19]
# 1
What you are talking about doing is a popular topic lately. Search for Domain Specific Languages (or DSL) and Java on Google and you'll find tons of references. You can also look at the interpreter pattern in GoF if you want to hand-craft this.
dubwaia at 2007-7-14 23:18:45 > top of Java-index,Core,Core APIs...