com.sap.netweaver.bc.rf.common
Class DataUri
java.lang.Object
com.sap.netweaver.bc.rf.common.GenericUri
com.sap.netweaver.bc.rf.common.DataUri
- All Implemented Interfaces:
- IAbsoluteUri
public class DataUri
- extends GenericUri
A RFC2397 IUri
implementation.
dataurl := "data:" [ mediatype ] [ ";base64" ] "," data
mediatype := [ type "/" subtype ] *( ";" parameter )
data := *urlchar
parameter := attribute "=" value
Copyright (c) SAP AG 2001-2003
DataUri
public DataUri(String remainder)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getData
public byte[] getData()
getEncoding
public String getEncoding()
getContentType
public String getContentType()
newInstance
protected IAbsoluteUri newInstance(String remainder)
throws IllegalArgumentException
- Description copied from class:
GenericUri
- Construct a new IUri with the scheme of this and the given remainder. used
when generic uri resolves references. This method should be overridden by
subclasses to construct their own class.
- Overrides:
newInstance in class GenericUri
- Parameters:
remainder - new opaque part of uri
- Returns:
- new IUri instance
- Throws:
IllegalArgumentException - Exception raised in failure situation
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice