Class JarUrl
java.lang.Object
org.springframework.boot.loader.net.protocol.jar.JarUrl
Utility class with factory methods that can be used to create JAR URLs.
- Since:
- 3.2.0
- Author:
- Phillip Webb
-
Method Details
-
create
Create a new jar URL.- Parameters:
file- the jar file- Returns:
- a jar file URL
-
create
Create a new jar URL.- Parameters:
file- the jar filenestedEntry- the nested entry ornull- Returns:
- a jar file URL
-
create
Create a new jar URL.- Parameters:
file- the jar filenestedEntryName- the nested entry name ornull- Returns:
- a jar file URL
-
create
Create a new jar URL.- Parameters:
file- the jar filenestedEntryName- the nested entry name ornullpath- the path within the jar or nested jar- Returns:
- a jar file URL
-