Class StreamAsset
- java.lang.Object
-
- com.adobe.pdfservices.operation.io.StreamAsset
-
-
Constructor Summary
Constructors Constructor Description StreamAsset(InputStream inputStream, String mimeType)
Constructs an instance ofStreamAsset
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
Returns the input stream of the asset.String
getMimeType()
Returns the mime type of the asset.
-
-
-
Constructor Detail
-
StreamAsset
public StreamAsset(InputStream inputStream, String mimeType)
Constructs an instance ofStreamAsset
.- Parameters:
inputStream
- input stream of the asset; can not be null.mimeType
- mime type of the input stream; can not be null or empty.
-
-
Method Detail
-
getInputStream
public InputStream getInputStream()
Returns the input stream of the asset.- Returns:
- Input Stream of the asset.
-
getMimeType
public String getMimeType()
Returns the mime type of the asset.- Returns:
- Mime Type of the asset.
-
-