Anyone Recommend a Java Flatfile Library?

Discussion in 'Plugin Development' started by JMEYER, Jan 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    JMEYER

    Hey everyone,

    Been trying to clean up my code for a plugin that I've been developing, and a lot of my clutter comes from my crude attempts to manage flatfiles.

    Can anyone recommend a solid flatfile library for Java?

    Thanks,

    JMEYER

    EDIT:
    Looking for anything that can read, write, and edit lines for files delimited by ":"s.
     
  2. Offline

    Shados

    If you're looking for a good flatfile library, you might want to think about using a flatfile format like YAML rather than just rolling your own.
     
  3. Offline

    feverdream

    Why not just use the Properties class?
     
  4. Offline

    lostaris

    Properties class requires you to use strings, and unless you split the value string up, can only store a key and a value.
     
  5. Offline

    feverdream

    So have your value be a pipe or comma delimited collection?

    What are you trying to store? As the chunk collections in MC have proven, just because you CAN store something in one way doesn't mean you should.
     
Thread Status:
Not open for further replies.

Share This Page