| Author |
IgnoreCase
|
Rekha Dehal
Greenhorn
Joined: Oct 13, 2003
Posts: 7
|
|
can someone help me PLEASE, This is part of my code. String fileName = inputFile.getName(); try { String className = props.getProperty(fileName.substring(0, 3)); Its getting the file name from the local directory, and in the property file I need to check first 3 charecters of the file name and get the class name mentioned in the property file for exmaple: Property file spi: com.ibm.appd.SAIAdon.class. gca: com.ibm.appd.GCASdon.class ... .... When testing my java file, its showing null in the class name, when I put the local file name with Capital, but when the file name is lower case its picks the proper class name from the properties file. how to solve this probs.. I know some guys r very smart here, I hope someone will help me ASAP.. thankning u raj
|
 |
Wirianto Djunaidi
Ranch Hand
Joined: Mar 20, 2001
Posts: 195
|
|
If it only work with lower case file name, how about:
|
 |
 |
|
|
subject: IgnoreCase
|
|
|