com.sapportals.wcm.util.uri
Class DataUri
java.lang.Object
com.sapportals.wcm.util.uri.GenericUri
com.sapportals.wcm.util.uri.DataUri
- All Implemented Interfaces:
- IUri
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-2005
DataUri
public DataUri(String remainder)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getData
public byte[] getData()
getEncoding
public String getEncoding()
getContentType
public String getContentType()
newInstance
protected IUri 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 - when remainder is not legal
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