Class MavenURLHandler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- hu.icellmobilsoft.coffee.tool.protocol.handler.MavenURLHandler
-
public class MavenURLHandler extends URLStreamHandler
Handling URL protocol for this format:maven:hu.icellmobilsoft.coffee:coffee-dto-xsd:jar::!/xsd/hu/icellmobilsoft/coffee/dto/common/common.xsd
Format is:maven:groupId:atifactId:package:version:!file_path- protocol - URL schema protocol, in this case "maven"
- hu.icellmobilsoft.coffee.dto.xsd - maven groupId
- coffee-dto-xsd - maven artifactId
- jar - maven package
- maven version
- Since:
- 1.0.0
- Author:
- imre.scheffer
-
-
Constructor Summary
Constructors Constructor Description MavenURLHandler()Default constructor, constructs a new object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URLConnectionopenConnection(URL url)-
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Method Detail
-
openConnection
protected URLConnection openConnection(URL url) throws IOException
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
-