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
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
Copyright 2006 SAP AG Complete Copyright Notice