public interface IURLContent extends IContent
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Get the size of the content data.
|
String |
getContentType()
Get the content type from the header fields collection.
|
String |
getFilename()
Returns the filename
|
HeaderFields |
getHeader()
Returns a collection of the header fields for the content.
|
InputStream |
getInputStream()
Gets the InputStream for the content.
|
String |
getURL()
Returns the URL
|
void |
setHeader(HeaderFields header)
Set header fields.
|
void |
writeTo(OutputStream out)
Writes the content to the output stream.
|
close, getEncoding
void writeTo(OutputStream out) throws URLContentAccessException
out
- The stream to write toURLContentAccessException
InputStream getInputStream()
getInputStream
in interface IContent
HeaderFields getHeader()
void setHeader(HeaderFields header)
header
- The header fields.String getContentType()
getContentType
in interface IContent
long getContentLength()
getContentLength
in interface IContent
String getURL()
String getFilename()
Access 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