Package dev.enola.data.iri.template
Class URITemplateSplitter
java.lang.Object
dev.enola.data.iri.template.URITemplateSplitter
Splits an URI based on an RFC 6570 Template. This is the "inverse" of
URITemplate.
Reliably parsing URIs correctly is hard, see WHATWG
URL Pattern. This class is intentionally limited, and only fulfills the current needs of this
project. It still has a lot of gaps. If you read this and need it to do more and better, please
improve it, along with its coverage in URITemplateSplitterTest and URITemplateTest! (Or find some
existing library which does this? E.g.
[teaconmc/urlpattern](https://github.com/teaconmc/urlpattern/issues/1)).-
Constructor Summary
ConstructorsConstructorDescriptionURITemplateSplitter(String template) Transforms a RFC 6570 URI Template into a Regular Expression usable to "match" it. -
Method Summary