File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes criteriaFin(String str) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "criteriaFin(String str)" Watch "criteriaFin(String str)" New topic

criteriaFin(String str)

Bhuvan mehra
Ranch Hand

Joined: Mar 29, 2002
Posts: 69
i have a doubt about criteriaFind(str) method and need your views about that.
i was thinking that as string message i have to send origin and destination.
but in instructions
example of string message has carrier+origin.
is that means i have to provide facilty to choose origin, destination, carrier, day etc. to the client?
how can i generate String for criteriaFind() method easily?
Adam Roberts
Ranch Hand

Joined: Mar 18, 2002
Posts: 71
The instructions specify :
The user should be able to select the origin and destination of flights, and the display should update to show only flights that satisfy those criteria. The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.

In other words your critieraFind method must handle any sort of request but your client only has to provide the two stated above
Hope that helps

Adam Roberts - SCJP2, SCJD<br />insert witty something here
Bhuvan mehra
Ranch Hand

Joined: Mar 29, 2002
Posts: 69
thanks and regards,
I agree. Here's the link:
subject: criteriaFin(String str)
It's not a secret anymore!