StreamDataSource

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.page.plugins.IDataSource

public final class StreamDataSource implements IDataSource

Represents stream data source for load and save operations of a plugin.

Constructors

ConstructorDescription
StreamDataSource(Object data)Initializes new stream data source with the specified stream object.

Methods

MethodDescription
equals(Object arg0)
getClass()
getData()Gets the stream object of the current data source.
getDataType()Type of data source (stream).
getInputStream()
getOutputStream()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

StreamDataSource(Object data)

public StreamDataSource(Object data)

Initializes new stream data source with the specified stream object.

Parameters:

ParameterTypeDescription
datajava.lang.ObjectStream object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public final Object getData()

Gets the stream object of the current data source.

Returns: java.lang.Object

getDataType()

public final int getDataType()

Type of data source (stream).

Returns: int

getInputStream()

public final InputStream getInputStream()

Returns: java.io.InputStream

getOutputStream()

public final OutputStream getOutputStream()

Returns: java.io.OutputStream

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int