File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes IgnoreCase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "IgnoreCase" Watch "IgnoreCase" New topic
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: 210

If it only work with lower case file name, how about:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IgnoreCase
 
Similar Threads
Hibernate exception problem
Query reg Tomcat connection pool
Mapping document query
Hibernate, Spring and H2
Reading Variables and forming a directory in LINUX