public class DataURLHandler extends URLStreamHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
charset |
protected boolean |
encoded |
protected String |
mime |
| Constructor and Description |
|---|
DataURLHandler() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
createURL(URL base,
String urlstring)
Creates an URL from string while considering the data: scheme.
|
protected URLConnection |
openConnection(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormprotected String mime
protected String charset
protected boolean encoded
protected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandlerIOExceptionpublic static URL createURL(URL base, String urlstring) throws MalformedURLException
base - the base URL used for relative URLsurlstring - the URL stringMalformedURLExceptionCopyright © 2014. All rights reserved.