Hi List

this is a bit OT but it's the weekend and I have a question which I am desperate to answer and my googling skills are no match for it.

Does anyone know where I can get a Java implementation of scanf?


I want to do C-style scanf and read a string into a list of parameters - the exact corollary of printf, rather than the slightly lame implementation java.util.Scanner which won't automatically read a whole set of values of different types into the same types that printf can handle, e.g. Calendar and Date.

e.g. I can do this for formatting:

System.out.format("Local time: %tT", Calendar.getInstance());


but not for parsing.

Yours thro the google haze,

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to