public final class StreamDataSource extends Object implements IDataSource
Represents stream data source for load and save operations of a plugin.
| Constructor and Description |
|---|
StreamDataSource(Object data)
Initializes new stream data source with the specified stream object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getData()
Gets the stream object of the current data source.
|
int |
getDataType()
Type of data source (stream).
|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
public StreamDataSource(Object data)
Initializes new stream data source with the specified stream object.
data - Stream objectpublic final int getDataType()
Type of data source (stream).
getDataType in interface IDataSourcepublic final Object getData()
Gets the stream object of the current data source.
public final InputStream getInputStream()
public final OutputStream getOutputStream()
Copyright © 2025 Aspose. All Rights Reserved.