diff options
author | Sven Gothel <[email protected]> | 2022-06-04 12:17:49 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-06-04 12:17:49 +0200 |
commit | c968b79825902597f85c235e3e20b61e1a25e24b (patch) | |
tree | 6d5d4b8d66a5fb8663cbeb49766cafae0b2b4040 /cmake | |
parent | 4239b2623dc979c10eeeda32467d20bd04363a3d (diff) |
Bump v0.13.0: jau::io changes for robust and simplified ByteInStream usage sourced as file or via remote URLv0.13.0
* `string_util.hpp`: Add `jau::to_string()` support for `std::string` and `std::string_view` as well as for `std::vector<T>` lists
* Add namespace `jau::io::uri`, limited URI scheme functionality to query whether implementation may handle the protocol.
- Query *libcurl* supported protocols at runtime
- Test for local file protocol
- Test whether protocol in given uri is supported by *libcurl*
* `jau::io::read_url_stream()`, sync and async, return immediately if protocol in given url is not supportet
- async variant returns `std::unique_ptr<std::thread>`, where a nullptr is used for no support
* `jau::io::ByteInStream_File` recognizes the local file protocol and cuts off `file://` is used.
- Fix: Recognition of a non-existing path, unaccessbile path or non-file case properly
* `jau::io::ByteInStream_URL` recognizes a non supported protocol via async `jau::io::read_url_stream()`.
* Added convenient `jau::io::std::unique_ptr<ByteInStream> to_ByteInStream()`
- Returning either a `jau::io::ByteInStream_File`, `jau::io::ByteInStream_URL` or nullptr if `path_or_url` is not supported
* Make Java class `org.jau.ney.Uri` standalone, drop dependencies for easier reusage.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions