public class URLs
extends java.lang.Object
| Constructor and Description |
|---|
URLs() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getOrigin(java.net.URL url)
Constructs the origin URL from a Java URL object.
|
public static java.lang.String getOrigin(java.net.URL url)
url - the Java URL object representing the URL to extract the origin from.