*
The moose likes Java in General and the fly likes Reading INI files with java 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 "Reading INI files with java" Watch "Reading INI files with java" New topic
Author

Reading INI files with java

narayana Ega
Greenhorn

Joined: Aug 23, 2012
Posts: 26
when I am Reading and printing INI files with java the out put of the java program is as shown below attached image file.

The out put contains some box symbols.



any body help me to remove the box symbols...


Thanks.........


[Download inifiles.bmp] Download

Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 459
    
    1
Are you using HierarchicalINIConfiguration? Please post your code.


Vinod Tiwari | Twitter
narayana Ega
Greenhorn

Joined: Aug 23, 2012
Posts: 26
No I am Reading the INI file as .txt file...

DataInputStream br = new DataInputStream(new FileInputStream (inifilepath));
line = br.readLine();
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41164
    
  45
Check out the ini4j library.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading INI files with java
 
Similar Threads
Dealing with Ini Files
Analyse large heap dump file
How to access 2 different weblogic applications running on different ports thru IIS.
read from ini file
How to reload an ini file without restarting weblogic 7.0 ??