Releases: DeBukkIt/SimpleFileStorage
Releases · DeBukkIt/SimpleFileStorage
SimpleFileStorage v1.2.0
- 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.
Latest version, now with optional AES encryption/decryption
Save your objects as usual. But from now on, you can optionally assign a password for individual objects so that they can be encrypted using AES.
Brilliant new features!
Credits for the ideas for the changes made since v1.0.0: GitHub constributor 'Stefan K.'
Added/fixed methods
- public ArrayList getAllAsArrayList() --> previously getAll()
- public HashMap<String, Object> getAll() --> previously returning ArrayList
- public void printAll() --> prints all stored keys with corresponding objects
First Stable Release
Hello World!
Take this very-very-very light-weight and easy-to-use and hyphen-friendly file storage for your Java applications.
(Caution: Could contain traces of https://github.com/DeBukkIt/SimpleServerClient)