Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read a Gedcom file in java

 
mitforu patel
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am going to build a project in which I have to build genealogy system. For that I need to create a gedcom file. I want to create a java program that can read and modify gedcom file. Any solutions?
Thank you
Mitesh.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step in the solution would be to find where the GEDCOM format is documented. Then all that is left would be to write a program which understands that format.

Have you done the first step yet?
 
mitforu patel
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I have't. I dont know about gedcom file. So can you please guide me in that.
Thank you.
Mitesh.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A suitable Google keyword would be "gedcom". You do have a working version of Google where you live, don't you? It's an extraordinarily valuable resource.
 
Piyush Patel
Ranch Hand
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey , any one of you devloped prograam for read/write to GEDCOM files?
please guide me in that..
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just followed Paul's advice and found that there are at least 2 open source Java libraries that can handle those files.
 
Piyush Patel
Ranch Hand
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,Ulf can you please mention the good libraries that you used ?
please provide their Links and Examples .

thank you very much !
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
 
Piyush Patel
Ranch Hand
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i didnt get how to make GEDCOM files.
and which library is there? please do some help ...
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Piyush Patel wrote:i didnt get how to make GEDCOM files.
and which library is there? please do some help ...


Piyush, everyone here is willing to help. But for questions like these, it's far easier to use a search engine and find out any documentation. I have zero knowledge (atleast until a few seconds back) about GEDCOM and have no clue whether there's any Java library which can help me with those files. So I just opened up my Google search toolbar and entered the following search phrase "gedcom open source java project". It showed up results which included a link to this which then led me to this project. So it does look like there's a Java library out there (as Ulf had already pointed out in his earlier reply), infact it even has its own forums (if you read through the documentation on that site).

So a few seconds back, I had no clue about what GEDCOM file was, but I now know what it is and that it has a Java library. Just a simple search helps, instead of having to wait for replies in forums for questions like these.
 
Matt Harrah
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This topic is past dead (nearly 3yo) but I thought I'd mention that there is a library called gedcom4j that does this kind of work.

http://gedcom4j.org

In interests of full disclosure, I am the author of that library, and am not an impartial endorser.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic