Skip to content

SimpleFileStorage v1.2.0

Latest
Compare
Choose a tag to compare
@DeBukkIt DeBukkIt released this 03 Mar 13:55
· 8 commits to master since this release
  • I've added a new exception, the DecryptionFailedException. It is thrown if decryption fails. public Object get(String key, String password) now throws DecryptionFailedException if decryption fails. This might happen if the password is wrong.
  • Encrypted items are output as "(Encrypted)"
  • Made some changes to match PDM requirements
  • The store and save methods are seperated now. Using the new constructor you can decide whether your data shall be autosaved after each call of the store method or whether you'd like to call save() manually.
  • Added a new constructor for the autosave option
  • Some exceptions are now thrown rather than caught in some places. This makes it easier for programmers to respond to errors.
  • Added buffers to improve performance when loading the storage from file or saving it.