public class StreamSource extends Object implements IStreamSource
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
mm_bytes |
protected File |
mm_file |
protected Properties |
mm_properties |
| Constructor and Description |
|---|
StreamSource(byte[] bytes)
Constructs a StreamSource from an inputStream
|
StreamSource(File file)
Constructs a StreamSource from a java.io.File object
|
StreamSource(Properties properties)
Constructs a StreamSource from a java.util.Properties object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperties() |
InputStream |
getInputStream()
Gets an input stream to the content
|
Properties |
getProperties() |
protected Properties mm_properties
protected File mm_file
protected byte[] mm_bytes
public StreamSource(Properties properties)
public StreamSource(File file)
public StreamSource(byte[] bytes)
public InputStream getInputStream() throws IOException
getInputStream in interface IStreamSourceIOExceptionpublic boolean containsProperties()
public Properties getProperties()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice