frizbog / gedcom4j

Java library for reading/writing genealogy files in GEDCOM format
http://gedcom4j.org
54 stars 36 forks source link

Listeners should return percent complete if possible #113

Closed frizbog closed 8 years ago

frizbog commented 8 years ago

If it's possible to do so, the Listeners for parsing, construction, and file operations should return percent complete numbers.

frizbog commented 8 years ago

Started this on v3-development branch. Will not include percents because the size of the file may not be known if it's a stream without a file. I have modified it to include the number of bytes processed along with the number of lines. For a file, calling code would be able to determine the size of the file and calculate percents if desired based on the bytes processed in the FileProgressEvent classe compared to the file size...and for streams, knowing both the number of lines and the number of bytes processed might be useful...somehow.

frizbog commented 8 years ago

Released in v3.0.0