wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading INI files with java" Watch "Reading INI files with java" New topic

Reading INI files with java

narayana Ega

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...


[Download inifiles.bmp] Download

Vinod Tiwari
Ranch Hand

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

Vinod Tiwari | Twitter
narayana Ega

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

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

Ping & DNS - my free Android networking tools app
Don't get me started about those stupid light bulbs.
subject: Reading INI files with java
Similar Threads
How to reload an ini file without restarting weblogic 7.0 ??
Analyse large heap dump file
Dealing with Ini Files
How to access 2 different weblogic applications running on different ports thru IIS.
read from ini file