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
| Constructor | Descripción |
|---|---|
| ByteContentStreamSource(byte[] fileContent) | Inicializa un nuevo objeto ByteContentStreamSource. |
Métodos
| Método | Descripció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ámetro | Tipo | Descripción |
|---|---|---|
| fileContent | byte[] | 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ámetro | Tipo | Descripción |
|---|---|---|
| arg0 | java.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ámetro | Tipo | Descripción |
|---|---|---|
| valor | long | Desplazamiento 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ámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long | |
| arg1 | int |