2 Replies - 699 Views - Last Post: 29 April 2010 - 02:42 AM Rate Topic: -----

#1 Guest_Imran Khan*


Reputation:

how to read hierarchal data from file in java

Posted 29 April 2010 - 02:14 AM

Sample data file is:

F
D
D1
P
P1
P21
P31
P1
P11
S
Q

I need to read the above data stored in a file in java. Data shows hierarchy and nested hierarchy. How to read this?
Is This A Good Question/Topic? 0

Replies To: how to read hierarchal data from file in java

#2 Guest_Imran Khan*


Reputation:

Re: how to read hierarchal data from file in java

Posted 29 April 2010 - 02:17 AM

View PostImran Khan, on 29 April 2010 - 01:14 AM, said:

Sample data file is:

F
D
-D1
P
-P1
--P21
---P31
-P1
---P11
S
Q

I need to read the above data stored in a file in java. Data shows hierarchy and nested hierarchy. How to read this?

Was This Post Helpful? 0

#3 aniri  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 54
  • View blog
  • Posts: 657
  • Joined: 24-November 09

Re: how to read hierarchal data from file in java

Posted 29 April 2010 - 02:42 AM

Here's a tutorial on reading data from files:
http://www.dreaminco...a-file-in-java/

Have you tried this?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1