Package com.teamdev.jxbrowser.net
Interface Scheme
public interface Scheme
The scheme component of a URL.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
HTTP
-
HTTPS
-
JAR
The scheme can be used to access resources located inside a JAR file.The JAR scheme will be treated as the standard "https" scheme.
By default, the URL to a resource located inside a JAR file has the "jar:file:" scheme which is treated as a non-standard scheme such as "jar:file:/path/*.jar!/path/resource.file". So, it will be canonicalized to the "jar://file/path/*.jar!/path/resource.file" form.
-
-
Method Details
-
of
Returns theSchemeinstance for the given name.- Throws:
IllegalArgumentException- when thenameis empty of blank
-
name
Returns a string that represents the name of the scheme.
-