public class DataUri extends GenericUri
dataurl := "data:" [ mediatype ] [ ";base64" ] "," data mediatype := [ type "/" subtype ] *( ";" parameter ) data := *urlchar parameter := attribute "=" value
Copyright (c) SAP AG 2001-2003
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
byte[] |
getData() |
String |
getEncoding() |
protected IAbsoluteUri |
newInstance(String remainder)
Construct a new IUri with the scheme of this and the given remainder. used
when generic uri resolves references.
|
equals, equals, getRemainder, getScheme, hashCode, resolve, toExternalForm, toString
public DataUri(String remainder) throws IllegalArgumentException
IllegalArgumentException
public byte[] getData()
public String getEncoding()
public String getContentType()
protected IAbsoluteUri newInstance(String remainder) throws IllegalArgumentException
GenericUri
newInstance
in class GenericUri
remainder
- new opaque part of uriIllegalArgumentException
- Exception raised in failure situation
throws ArgumentNotValidException when remainder is not legalAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice