StreamDataSource

Inheritance: java.lang.Object

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

public final class StreamDataSource implements IDataSource

Représente la source de données de flux pour les opérations de chargement et d’enregistrement d’un plugin.

Constructeurs

ConstructeurDescription
StreamDataSource(Object data)Initialise une nouvelle source de données de flux avec l’objet de flux spécifié.

Méthodes

MéthodeDescription
equals(Object arg0)
getClass()
getData()Obtient l’objet de flux de la source de données actuelle.
getDataType()Type de source de données (flux).
getInputStream()
getOutputStream()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

StreamDataSource(Object data)

public StreamDataSource(Object data)

Initialise une nouvelle source de données de flux avec l’objet de flux spécifié.

Parameters:

ParamètreTypeDescription
donnéesjava.lang.ObjectObjet de flux

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public final Object getData()

Obtient l’objet de flux de la source de données actuelle.

Returns: java.lang.Object

getDataType()

public final int getDataType()

Type de source de données (flux).

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:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int