Uses of Class
com.mastfrog.url.URL
Packages that use URL
-
Uses of URL in com.mastfrog.url
Methods in com.mastfrog.url that return URLModifier and TypeMethodDescriptionURLBuilder.create()static URLGet a URL for a file on disk in file protocol.static URLURL.fromJavaUrl(URL url) Convert a java.net.URL to URL.URL.getBaseURL(boolean retainPort) Get this URL in its typical browser-based form, omitting any query strings and username/password.URL.getParentURL()Get a URL to the parent path of this URL, stripping out any parameters or anchor.static URLParse a URL from a string.URL.stripAnchor()Create a version of this URL minus its anchor.URL.stripQuery()Create a version of this URL minus its parameters.URL.toSimpleURL()Creates a version of this URL minus its username, password, query and anchor.URL.withParameter(String name, String value) URL.withProtocol(Protocol protocol) Methods in com.mastfrog.url with parameters of type URLModifier and TypeMethodDescriptionstatic URLBuilderintbooleanURL.simpleEquals(URL other) Determine if this URL points to the same file on the same host, ignoring username/password, anchor and parameters.Constructors in com.mastfrog.url with parameters of type URL