tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies" <>
Subject RE: Please Help: Any tomcat/3rd party class that can do this?
Date Tue, 22 Oct 2002 16:56:45 GMT

Chuck Carson,


Sorry if that's glib.  :-)

Anyway, looks like it's $20 USD to compile with sharkysoft's "printf for java" jar file -
might save you a few hours.


Vancouver, Canada

> -----Original Message-----
> From: Carson, Chuck []
> Sent: Monday, October 21, 2002 4:10 PM
> To: Tomcat Users List
> Subject: Please Help: Any tomcat/3rd party class that can do this?
> Sorry if this is newbie but I am somewhat new to Java. I have poured
> thru several books and cannot find anything that does what I want.
> I have to generate reports with multiple columns of variable width. I
> need a java class to format these. In C, I would do this:
> printf("%10s %10s %-10s", string1, string2, string3);
> This would effectively create three columns 10 characters 
> wide and right
> justify the last column. I am sure I could 'jerry rig' this 
> behavior but
> this is part of an application that will get heavy usage and I would
> prefer a clean, robust approach. (Note: This is a very scaled down
> example, the actual reporting is much more complex)
> Does tomcat come with a utility to do this? (or does anyone 
> know of any
> public domain classes out there)
> Much thanks,
> Chuck
> ----------
> This message contains confidential information and is 
> intended only for
> the individual named. If you are not the named addressee you 
> should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses. The sender therefore does not accept 
> liability for any
> errors or omissions in the contents of this message, which arise as a
> result of e-mail transmission. If verification is required please
> request a hard-copy version. 
> --
> To unsubscribe, e-mail:   
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message