This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading INI files with java

 
narayana Ega
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.........
Filename: inifiles.bmp
Description:
File size: 993 Kbytes
[Download inifiles.bmp] Download Attachment
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using HierarchicalINIConfiguration? Please post your code.
 
narayana Ega
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I am Reading the INI file as .txt file...

DataInputStream br = new DataInputStream(new FileInputStream (inifilepath));
line = br.readLine();
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the ini4j library.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic