Commit Graph

8 Commits (cb44743d41fcf7681ffe6d36cf5e6b6649647644)

Author SHA1 Message Date
William dcb8aafb4a
Add builder option to specify charset for file encoding (#28)
* feat: Make read/write charset configurable, default to UTF-8

* refactor: Make charset final in FileConfigurationProperties

* test: add unit tests

* refactor: use system/environment encoding by default

* test: fix spacing in test class

* test: removed unused import
10 months ago
Exlll a5d05e256c Add IOStreamConfigurationStore
This commit adds the new interface IOStreamConfigurationStore that provides two
new methods, one for reading configurations from InputStreams and a second
for writing configurations to OutputStreams. This interfaces is implemented
by the YamlConfigurationStore class.
1 year ago
Exlll 9143762c89 Update Gradle and dependencies 1 year ago
Alisson Lopes dc010a01f1
Window Test Support (#25)
* Windows Test Support - Add helper methods to convert the unix absolute path to the Jimfs's supported Windows path

* Windows Test Support - Bump Jimfs version

* Windows Test Support - Implement helper methods to the needed paths

* Windows Test Support - Implement helper methods to the needed paths and remove the unsupported (on Windows) newline character in the filename

* Windows Test Support - Statically importing the helper methods

* Windows Test Support - Statically importing the helper methods and changing the constant field names to good practices
1 year ago
Exlll 0eb73815be Add miscellaneous test cases 2 years ago
Exlll 9f4999c726 Add support for polymorphic serialization
This commit adds the Polymorphic annotation that can be used on types.
Serializers for polymorphic types are not selected based on the
compile-time types of configuration elements, but instead are chosen at
runtime based on the actual types of their values. This enables adding
instances of subclasses / implementations of a polymorphic type to
collections.
2 years ago
Exlll d1acb875c2 Remove update with default configuration.
Default values for Records can now be provided through constructors
that have no parameters.
2 years ago
Exlll 5b9c7754b4 Move to new project structure 2 years ago