Turn any phrase or identifier into lowercase words separated by dots.
The converter splits your input into words at spaces, underscores, hyphens, existing dots and camelCase boundaries, lowercases them and joins them with a dot. Runs of capitals such as HTTP are treated as one word, so parseHTTPResponse becomes parse.http.response.
Each line is converted on its own, which makes it practical for a list of property names.
In dotted property names such as spring.datasource.url, in package and module style paths, and in many metric and event naming systems.
Only the separator. kebab-case uses hyphens and is common in URLs and CSS, while dot.case uses dots and is common in configuration and namespacing.
Yes. Digits are kept as part of the word they follow, so version2Api becomes version2.api.