Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ivan Ryndin
    @iryndin
    Hello everyone! Just added amazing Gitter Chat for JDBF. Please write here all your mentions and suggestions about the library!
    Plz note that curently I am working on JDBF v.3.0.. It brings more elaborated API and ease of use
    xKopax
    @xKopax
    This library is totally amazing. Thank you very much for working on it =)
    a little suggestion is the ability to filter the table. So it wouldn't be necessary to do it manually.
    However I believe Java 8 will make this easier with stream and lambdas =)
    Ivan Ryndin
    @iryndin
    xKopax, plz describe in details your idea about filtering tables!
    xKopax
    @xKopax

    Hi,

    So, what happens today is if I have an employee table, and want to select only the male ones,
    I need to do something like this:

    DbfReader reader = new DbfReader(file);
    while ((rec = reader.read()) != null)

    and then iterate over the whole collection, checking the field:

    if (rec.getBigDecimal("GENDER").equals("M") {}

    I wish I could do it before iterate, or maybe on load the table

    Something like DbfReader reader = new DbfReader(file).filtered(conditions);

    Where conditions, couild be an interface or class
    xKopax
    @xKopax
    But as I said before, I believe the new features from Java 8 might help with it.
    We could use stream to filter, but reader.read will have to return a collection for this, I guess;
    Ivan Ryndin
    @iryndin
    I could add filters to JDBF but is really simplier to let users what they want while iterating DBF records. DBF format is so simple (and, more importantly, is so rare nowadays) that approch to cosider it as a sequence of records is the simpliest an d therefore the best, IMHO.
    You are right Java 8 makes adding such filters really a simple thing.
    hrj
    @hrj
    Hi! I just discovered this and planning to use it to scavenge data from an old FoxPro project.
    Would be really nice if you can publish a compiled jar. You can host it easily with GitHub's release feature.
    hrj
    @hrj
    Here's a small script in Kotlin to dump the schema of any given DBF file: https://gist.github.com/hrj/f9c182f5a57cbc67b90d
    xKopax
    @xKopax
    Hi there, any news about the project? =)
    Federico Nafria
    @driv
    Hi, is the writing functionality fully supported? I'm having problems writing a dbf file. I also tried opening the file that is being generated by TestDbfWriter (111.dbf) using dbfviewer and it cannot open it
    xKopax
    @xKopax
    Too bad, seems like it's been abandoned =/
    Edwin Quijada
    @ewquijada_twitter
    Hi
    Where can I download this jar ?
    rpjc#s
    @claudiosalas
    Is anyone still using it?