public class DataUri
extends java.lang.Object
Constructor | Description |
---|---|
DataUri(io.mola.galimatias.URL url) |
|
DataUri(java.lang.String url) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getContentType() |
Returns the contentType.
|
java.io.InputStream |
getInputStream() |
Returns the inputStream.
|
protected void |
init(io.mola.galimatias.URL url) |
|
static boolean |
startsWithData(java.lang.String uri) |
public DataUri(java.lang.String url) throws java.io.IOException
java.io.IOException
public DataUri(io.mola.galimatias.URL url) throws java.io.IOException, java.net.MalformedURLException
url
- java.net.MalformedURLException
java.io.IOException
public static boolean startsWithData(java.lang.String uri)
protected void init(io.mola.galimatias.URL url) throws java.io.IOException, java.net.MalformedURLException
url
- java.net.MalformedURLException
java.io.IOException
public java.lang.String getContentType()
public java.io.InputStream getInputStream()