ByteContentStreamSource

Inheritance: java.lang.Object, com.aspose.font.StreamSource

public class ByteContentStreamSource extends StreamSource

Representa una fuente de flujo basada en el flujo _content.

Constructores

ConstructorDescripción
ByteContentStreamSource(byte[] fileContent)Inicializa un nuevo objeto ByteContentStreamSource.

Métodos

MétodoDescripción
deepClone()Clona el objeto ByteContentStreamSource.
equals(Object arg0)
getClass()
getFontStream()Devuelve el flujo del archivo de fuente.
getOffset()Obtiene el desplazamiento dentro de la fuente.
hashCode()
mustCloseAfterUse()Los herederos pueden evitar que el flujo se cierre.
notify()
notifyAll()
setOffset(long value)Establece el desplazamiento dentro de la fuente.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ByteContentStreamSource(byte[] fileContent)

public ByteContentStreamSource(byte[] fileContent)

Inicializa un nuevo objeto ByteContentStreamSource.

Parameters:

ParámetroTipoDescripción
fileContentbyte[]Bytes del archivo.

deepClone()

public Object deepClone()

Clona el objeto ByteContentStreamSource.

Returns: java.lang.Object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParámetroTipoDescripción
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontStream()

public InputStream getFontStream()

Devuelve el flujo del archivo de fuente. No olvides cerrar el flujo después de usarlo.

Returns: java.io.InputStream - Flujo del archivo de fuente.

getOffset()

public long getOffset()

Obtiene el desplazamiento dentro de la fuente.

Returns: long - Desplazamiento dentro de la fuente.

hashCode()

public native int hashCode()

Returns: int

mustCloseAfterUse()

public boolean mustCloseAfterUse()

Los herederos pueden evitar que el flujo se cierre. Devuelve verdadero si la fuente de flujo desea que el flujo se cierre después de su uso. De lo contrario, devuelve falso.

Returns: boolean - Verdadero si la fuente de flujo desea que el flujo se cierre después de su uso, de lo contrario falso.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setOffset(long value)

public void setOffset(long value)

Establece el desplazamiento dentro de la fuente.

Parameters:

ParámetroTipoDescripción
valorlongDesplazamiento dentro de la fuente.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParámetroTipoDescripción
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParámetroTipoDescripción
arg0long
arg1int