Actually I just checked, and in fact Sun does not put a template in Data for criteriaFind. However, your criteriaFind will likely work a whole lot like (or make use of) the existing find(String toMatch) method, which suggests that the Data class is not an obviously bad place to put criteriaFind.
You're responsible for parsing the search string. Again, if it fails to follow the prescribed syntax however, then something or other will fail somehow- just like something will fail if you put "if (x = 1)" in your program code and then try to compile.
You might want to take a look at
SCJD Study Companion
Fly by Night Consultants<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr><i>I climbed on the back of a giant albatross<br />which flew through a crack in the cloud<br />to a place where happiness reigned...<br />all year 'round<br />the music played ever so loudly!</i><p><a href="http://thomasfly.com/songs/Traffic/Hole_in_my_Shoe_qt.htm" target="_blank" rel="nofollow">Hole in My Shoe</a><hr></blockquote>