[program-java] Strings

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Tue, 21 Apr 2009 16:03:05 -0400

Hi:

I'm writing a program that will take a COBOL copybook record layout and creates 
automatically a java class with the corresponding fields, getters and setters 
and the necessary code for my CICS to CICS transaction.

The UI is complete and so is most of the backend logic and now I'm just 
cleaning things up....

One thing I want to do is once I've selected my .cbl file from a file dialog is 
to check the first character of the file name.... If its lower case then 
convert it to upper case because the existing file name eventually becomes a 
.java file and as a standard all .java classes start with a capital letter....

I guess I'm looking at this way to hard because for the life of me I can't seem 
to dig my self out of this hole. Any ideas?

Jim 

James M. Corbett

A / Technical Specialist
GST/HST Micros | Micros de la TPS/TVH
GST/HST Redesign Division | Division de la restructuration de la TPS/TVH 
Revenue and Accounting Systems Directorate (RASD) | Direction des Systèmes de 
revenu et de comptabilité (DSRC)
Information Technology Branch (ITB) | Direction générale de l'informatique (DGI)
Canada Revenue Agency | Agence du revenue du Canada

(613) 941-1338

"...Is a hippopotamus a hippopotamus, or just a really cool Opotamus?" 

Other related posts: