Create a class `UrlParser` that provides a method to parse and validate URLs using regex. The method should extract and return url components the `protocol`, `domain`, `port`, `path` and `query` parameters. The URL is always correct.
Create a class `BreakdownURL` that provides a method to parse and validate URLs using regex.The method should extract and return the following URL components: `protocol`, `domain`, `port`, `path` and `query`
Assume the URL is always correct.
The method should extract and return URL components the parameters. The URL is always correct.
> give back in the map just the existing component.
> Give back in the map just the existing component.
### Expected Class
```java
public class UrlParser {
public class BreakdownURL {
public Map<String,String> parseURL(String url) {
// Implementation to parse and validate URLs using regex