public static Optional < Dependency > parseURL ( URL url ) { return parseJarName ( url . toString ( ) , Paths . get ( url . getPath ( ) ) . getFileName ( ) . toString ( ) ) ; }
Generate dependency from a URL .