com.sapportals.portal.prt.registry.content
Class StreamSource
java.lang.Object
com.sapportals.portal.prt.registry.content.StreamSource
- All Implemented Interfaces:
- IStreamSource
public class StreamSource
- extends Object
- implements IStreamSource
StreamSource helper class
|
Constructor Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mm_properties
protected Properties mm_properties
mm_file
protected File mm_file
mm_bytes
protected byte[] mm_bytes
StreamSource
public StreamSource(Properties properties)
- Constructs a StreamSource from a java.util.Properties object
StreamSource
public StreamSource(File file)
- Constructs a StreamSource from a java.io.File object
StreamSource
public StreamSource(byte[] bytes)
- Constructs a StreamSource from an inputStream
getInputStream
public InputStream getInputStream()
throws IOException
- Gets an input stream to the content
- Specified by:
getInputStream in interface IStreamSource
- Returns:
- an inputStream to the content
- Throws:
IOException
containsProperties
public boolean containsProperties()
getProperties
public Properties getProperties()
This class can be accessed from:
|
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 2015 SAP AG Complete Copyright Notice