ByteContentStreamSource
Inheritance: java.lang.Object, com.aspose.font.StreamSource
public class ByteContentStreamSource extends StreamSource
Rappresenta una sorgente di flusso basata sullo stream _content.
Costruttori
| Costruttore | Descrizione |
|---|---|
| ByteContentStreamSource(byte[] fileContent) | Inizializza un nuovo oggetto ByteContentStreamSource . |
Metodi
| Metodo | Descrizione |
|---|---|
| deepClone() | Clona l’oggetto ByteContentStreamSource. |
| equals(Object arg0) | |
| getClass() | |
| getFontStream() | Restituisce lo stream del file Font. |
| getOffset() | Ottiene l’offset all’interno della sorgente. |
| hashCode() | |
| mustCloseAfterUse() | Gli eredi possono impedire la chiusura del stream. |
| notify() | |
| notifyAll() | |
| setOffset(long value) | Imposta l’offset all’interno della sorgente. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
ByteContentStreamSource(byte[] fileContent)
public ByteContentStreamSource(byte[] fileContent)
Inizializza un nuovo oggetto ByteContentStreamSource .
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| fileContent | byte[] | Byte del file. |
deepClone()
public Object deepClone()
Clona l’oggetto ByteContentStreamSource.
Returns: java.lang.Object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFontStream()
public InputStream getFontStream()
Restituisce lo stream del file Font. Non dimenticare di chiudere lo stream dopo l’uso.
Returns: java.io.InputStream - stream del file Font.
getOffset()
public long getOffset()
Ottiene l’offset all’interno della sorgente.
Returns: long - Offset all’interno della sorgente.
hashCode()
public native int hashCode()
Returns: int
mustCloseAfterUse()
public boolean mustCloseAfterUse()
Gli eredi possono impedire la chiusura del stream. Restituisce true se la sorgente di stream desidera che il stream venga chiuso dopo l’uso. Altrimenti restituisce false.
Returns: boolean - True se la sorgente di stream desidera che il stream venga chiuso dopo l’uso, altrimenti false.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setOffset(long value)
public void setOffset(long value)
Imposta l’offset all’interno della sorgente.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | long | Offset all’interno della sorgente. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |