iipc / jwarc

Java library for reading and writing WARC files with a typed API
Apache License 2.0
46 stars 8 forks source link

Build WarcRevisit with refersTo String targetURI #65

Closed robertvanloenhout closed 1 year ago

robertvanloenhout commented 1 year ago

I'd like to be able to create a WarcRevisit with the builder. However the target URI can only be set using an object of class URI. It would be very convenient if I could pass a String. Converting between URI and String gives some unnecessary headaches. For example I sometimes get a double URL encoded value from WarcTargetRecord.targetURI.

I'll add a pull request for this. https://github.com/iipc/jwarc/pull/66

ato commented 1 year ago

66 has been released in v0.20.0. Thanks!